#2C163F

Closest named color: Dark Purple (#35063E). oklch(25.4% 0.077 306.4), rgb(44, 22, 63).

Aa

White text reads best on this color (16.23:1).

About this color

#2C163F is a dark, moderately saturated purple. In OKLCH its lightness is 25%, its chroma 0.077 and its hue 306°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Purple (#35063E), ΔE 0.036 away. White text reads best on it, at 16.23:1.

Hue familyPurples
Lightnessdark (25%)
Chromamoderately saturated (0.077)
Temperaturein between
Nearest nameDark Purple (#35063E)
Black text1.29:1
White text16.23:1

Values

HEX#2C163F
RGBrgb(44, 22, 63)
HSLhsl(272, 48%, 17%)
OKLCHoklch(25.4% 0.077 306.4)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #2C163F 16.23:1 AAA Lc -105.5 Preferred for body text
Black text on #2C163F 1.29:1 Fails Lc 0.0 Not readable
#2C163F text on white 16.23:1 AAA Lc 103.0 Preferred for body text
#2C163F text on black 1.29:1 Fails Lc 0.0 Not readable

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 950.

  1. Step 50

    50

    #F7F3FC

    oklch(97% 0.013 306)

  2. Step 100

    100

    #EEE6F8

    oklch(93.6% 0.025 305.8)

  3. Step 200

    200

    #E1D1F4

    oklch(88.4% 0.05 306)

  4. Step 300

    300

    #CFB2F0

    oklch(81% 0.091 305.8)

  5. Step 400

    400

    #B886E8

    oklch(70.7% 0.147 306.5)

  6. Step 500

    500

    #A664E0

    oklch(63% 0.186 306.4)

  7. Step 600

    600

    #9247CE

    oklch(55.6% 0.202 306.4)

  8. Step 700

    700

    #7C37B2

    oklch(49.1% 0.188 306.3)

  9. Step 800

    800

    #652F90

    oklch(42.7% 0.155 306.5)

  10. Step 900

    900

    #522B73

    oklch(37.6% 0.122 306.4)

  11. Step 950

    950 (this color)

    #2C163F

    oklch(25.4% 0.077 306.4)

Export this scale for Tailwind in the Tailwind colors tool

#2C163F with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#0720400.063
Deuteranopia (no green cones)#0F203E0.056
Tritanopia (no blue cones)#291E280.055
Achromatopsia (no color)#2020200.078

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #2C163F

    #2C163F

    oklch(25.4% 0.077 306.4)

  • #1A2800

    #1A2800

    oklch(25.4% 0.066 127)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2C163F

    #2C163F

    oklch(25.4% 0.077 306.4)

  • #1A1D47

    #1A1D47

    oklch(25.5% 0.077 276.3)

  • #381130

    #381130

    oklch(25.4% 0.076 336.4)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #2C163F

    #2C163F

    oklch(25.4% 0.077 306.4)

  • #2A2200

    #2A2200

    oklch(25.4% 0.052 96)

  • #002B16

    #002B16

    oklch(25.4% 0.061 156.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2C163F

    #2C163F

    oklch(25.4% 0.077 306.4)

  • #341C00

    #341C00

    oklch(25.3% 0.056 66.7)

  • #002926

    #002926

    oklch(25.3% 0.044 187.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2C163F

    #2C163F

    oklch(25.4% 0.077 306.4)

  • #401004

    #401004

    oklch(25.4% 0.078 35.9)

  • #1A2800

    #1A2800

    oklch(25.4% 0.066 127)

  • #002830

    #002830

    oklch(25.5% 0.045 214.5)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #2C163F, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #2C163F in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.