#2C1B3F

Closest named color: Oxford Blue (#1B263B). oklch(26.3% 0.068 303.9), rgb(44, 27, 63).

Aa

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

About this color

#2C1B3F is a dark, muted purple. In OKLCH its lightness is 26%, its chroma 0.068 and its hue 304°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.046 away. White text reads best on it, at 15.72:1.

Hue familyPurples
Lightnessdark (26%)
Chromamuted (0.068)
Temperaturein between
Nearest nameOxford Blue (#1B263B)
Black text1.33:1
White text15.72:1

Values

HEX#2C1B3F
RGBrgb(44, 27, 63)
HSLhsl(268, 40%, 18%)
OKLCHoklch(26.3% 0.068 303.9)

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 #2C1B3F 15.72:1 AAA Lc -105.2 Preferred for body text
Black text on #2C1B3F 1.33:1 Fails Lc 0.0 Not readable
#2C1B3F text on white 15.72:1 AAA Lc 102.5 Preferred for body text
#2C1B3F text on black 1.33: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

    #F7F4FB

    oklch(97.1% 0.01 305.4)

  2. Step 100

    100

    #EDE6F7

    oklch(93.5% 0.024 304.5)

  3. Step 200

    200

    #DFD2F2

    oklch(88.4% 0.046 303.9)

  4. Step 300

    300

    #CCB4EB

    oklch(80.9% 0.08 304.5)

  5. Step 400

    400

    #B28BE1

    oklch(70.6% 0.128 304.2)

  6. Step 500

    500

    #9F6CD9

    oklch(63.1% 0.164 303.7)

  7. Step 600

    600

    #8B51C6

    oklch(55.7% 0.178 304.1)

  8. Step 700

    700

    #7641AB

    oklch(49.2% 0.165 304)

  9. Step 800

    800

    #60368A

    oklch(42.7% 0.136 304.3)

  10. Step 900

    900

    #4E306F

    oklch(37.7% 0.107 303.7)

  11. Step 950

    950 (this color)

    #2C1B3F

    oklch(26.3% 0.068 303.9)

Export this scale for Tailwind in the Tailwind colors tool

#2C1B3F 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)#1023400.050
Deuteranopia (no green cones)#15233E0.045
Tritanopia (no blue cones)#29212A0.049
Achromatopsia (no color)#2323230.068

Harmonies

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

Complementary

The opposite hue (180°).

  • #2C1B3F

    #2C1B3F

    oklch(26.3% 0.068 303.9)

  • #1E2A00

    #1E2A00

    oklch(26.4% 0.066 124.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2C1B3F

    #2C1B3F

    oklch(26.3% 0.068 303.9)

  • #1B2145

    #1B2145

    oklch(26.3% 0.067 273.8)

  • #381632

    #381632

    oklch(26.3% 0.068 334.5)

Open the analogous palette in the generator

Split complementary

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

  • #2C1B3F

    #2C1B3F

    oklch(26.3% 0.068 303.9)

  • #2D2400

    #2D2400

    oklch(26.3% 0.054 94.9)

  • #002E15

    #002E15

    oklch(26.4% 0.067 153.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2C1B3F

    #2C1B3F

    oklch(26.3% 0.068 303.9)

  • #381D00

    #381D00

    oklch(26.2% 0.059 63.7)

  • #002C27

    #002C27

    oklch(26.3% 0.047 183.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2C1B3F

    #2C1B3F

    oklch(26.3% 0.068 303.9)

  • #3F160D

    #3F160D

    oklch(26.2% 0.067 33.9)

  • #1E2A00

    #1E2A00

    oklch(26.4% 0.066 124.5)

  • #002A32

    #002A32

    oklch(26.2% 0.046 213.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2C1B3F 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.