The chromatic number of a finite simple graph
with at least one graph vertex is the smallest number
of colors needed to color the vertices of
so that no two adjacent vertices
share the same color (Harary and Palmer 1973, p. 269; Skiena 1990, p. 210),
i.e., the smallest value of
possible to obtain a k-coloring.
Minimum vertex colorings and chromatic
numbers for a sample of graphs are illustrated above. The
graph with no vertices
has chromatic number 0 by convention.
The chromatic number of a graph is most commonly denoted
(e.g., Skiena 1990, West 2000, Godsil and Royle 2001,
Pemmaraju and Skiena 2003), but occasionally also
.
Empty graphs with at least one graph vertex have chromatic number 1 (OEIS A000012), while bipartite graphs with at least one graph edge have chromatic number 2.
The chromatic number of a graph is also the smallest nonnegative
integer
for which the chromatic polynomial
. The optimization problem of finding a minimum vertex coloring, and hence calculating
the chromatic number, is the vertex coloring
problem.
Computation of the chromatic number of a graph is implemented in the Wolfram Language as VertexChromaticNumber[g]. Precomputed chromatic numbers for many named graphs can be obtained using GraphData[graph, "ChromaticNumber"].
The chromatic number of a graph must be greater than or equal to its clique number. A graph
is called a perfect graph if, for each of its induced subgraphs , the chromatic number of
equals the largest number of pairwise adjacent
vertices in
. A graph
for which the clique number is equal to the chromatic
number (with no further restrictions on induced subgraphs)
is said to be weakly perfect.
For a simple graph with at least one graph edge and largest and least adjacency eigenvalues and
, the Hoffman
ratio bound gives
|
(1)
|
where
denotes the ceiling function (Brouwer and Haemers
2012). For a regular graph of vertex
degree
, the largest graph
eigenvalue is
. In this case the result also
follows from
and the Hoffman ratio bound, where
is the number of vertices
and
is the independence number.
By definition, the edge chromatic number of a graph equals the chromatic number of the line
graph
.
Brooks' theorem states that the chromatic number of a connected simple
graph with at least one graph vertex is at most
the maximum vertex degree , unless the graph is
complete or an odd cycle, in which case
colors are required (Brooks 1941). The Borodin-Kostochka
conjecture seeks a stronger bound in terms of
and the clique number
at large maximum vertex degree.
A graph with chromatic number is said to be bicolorable,
and a graph with chromatic number
is said to be three-colorable.
In general, a graph with chromatic number
is said to be a k-chromatic
graph, and a graph with chromatic number
is said to be k-colorable.
The following table gives the chromatic numbers for some named classes of graphs.
| graph | |
| complete
graph | |
| cycle graph | |
| star graph | 2 |
| wheel graph |
For any two positive integers and
, there exists a graph
of girth at least
and chromatic number at least
(Erdős 1959, 1961; Lovász 1968; Skiena 1990, p. 215;
Bollobás and West 2000).
The chromatic number of a closed surface that is connected and orientable
is the largest chromatic number of a graph embeddable in
it. For genus , its value is
|
(2)
|
where
is the floor function. For
, this is the Heawood
conjecture, proved by Ringel and Youngs (1968). For
, sufficiency of four colors is the four-color
theorem.
is sometimes also denoted
(which is unfortunate, since
commonly refers to the Euler
characteristic). For
, 1, ..., the first few values
of
are 4, 7, 8, 9, 10, 11, 12, 12, 13, 13, 14, 15, 15, 16, ... (OEIS A000934).
A different invariant, the achromatic number, maximizes the number of colors in a proper vertex coloring for which every pair of colors appears at the ends of a graph edge. It is at least the chromatic number.
Excluding a fixed induced subgraph can define a chi-bounded graph class. Huang et
al. (2026) proved that every nonempty simple graph with no induced
subgraph isomorphic to the path graph on six vertices satisfies
|
(3)
|
where
is the clique number and
. Huang et al. (2026) report
AI-generated arguments developed through interactive mathematical review.
Coja-Oghlan et al. (2026) identified two consecutive possible chromatic numbers for the random graph throughout the range
and
.
The circular chromatic number refines by allowing colors to be points
of a circle with a minimum distance between adjacent vertex colors (Vince 1988).
For every integer , Choi and Sieniawski (2026)
proved that a finite simple
graph with chromatic number greater than
has at least
cycles whose lengths
are divisible by
. The bound is sharp for the complete graph
.
The cochromatic number allows each color class to be either a clique or an independent
vertex set, so it is at most the chromatic number. For , the two invariants have the same leading
asymptotic value, but Petkov (2026) reports that their
difference is at least
with probability tending to 1 along all integers
.
Erdős and Hajnal asked whether sufficiently large chromatic number forces a subgraph of prescribed large girth
and chromatic number. Kohlmeyer and Kruer (2026) constructed triangle-free
graphs of arbitrarily large chromatic number in which every subgraph with no
cycle of length four is 6-colorable. Nguyen and Walczak
(2026) sharpened 6 to 3. Consequently, for any and
, large chromatic number
does not force a subgraph of girth at least
and chromatic number at least
. For
, Rödl proved that a sufficiently
large chromatic number does force a triangle-free
graph as a subgraph of at least any prescribed chromatic
number (Rödl 1977). For any fixed
, sufficiently large chromatic
number does force a subgraph of girth
at least
and chromatic number at least 3 (Erdős and Hajnal, cited by Nguyen and Walczak
2026). The bound 3 is optimal because every nonbipartite triangle-free
graph contains an odd graph cycle of length at
least 5 as a subgraph. For
, the graph
disjoint union of finite counterexamples with unbounded chromatic number gives
a graph of infinite chromatic number all of whose subgraphs
of girth at least
are 3-colorable.
More generally, a fixed graph is called
-avoidable if graphs of arbitrarily large chromatic number
exist in which all
-free
subgraphs have chromatic number bounded by a constant
depending only on
. Steiner showed that this holds
exactly when
is nonbipartite (Nguyen and Walczak 2026).
For odd girth, Steiner (2026) proved that sufficiently large chromatic number forces a subgraph with any prescribed
chromatic number lower bound and odd
girth lower bound. For odd girth at least 5, a host
with chromatic number at least suffices for a triangle-free
graph as a subgraph with chromatic
number at least
, for any fixed
and all sufficiently large integers
.
For an infinite graph, the chromatic number is the least cardinal number of colors in a proper
coloring. Let
be the maximum, over the
-vertex induced subgraphs
of
, of the minimum number of edges
that must be deleted to make the subgraph bipartite.
Erdős et al. (1982) constructed a graph of
chromatic number ℵ1 with
. Clary (2026) proved the upper-bound
assertion of Erdős problem 111:
for every
there exists a graph
with chromatic number ℵ1
and
. Here
denotes big-O notation.
The graph may depend on
. Clary's Lean proof
uses a construction based on shift graphs.
The lower-bound assertion of Erdős problem 111 was proved by Plasma AI. For every fixed graph with uncountable chromatic number,
as
. Equivalently, if
is bounded above by a constant times
, then
admits a countable coloring. The Palomar Registry records
verification of the Lean proof (Parish 2026).