#210F35

Closest named color: Midnight Purple (#280137). oklch(21.8% 0.072 302.6), rgb(33, 15, 53).

Aa

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

About this color

#210F35 is a very dark, moderately saturated purple. In OKLCH its lightness is 22%, its chroma 0.072 and its hue 303°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Midnight Purple (#280137), ΔE 0.034 away. White text reads best on it, at 17.73:1.

Hue familyPurples
Lightnessvery dark (22%)
Chromamoderately saturated (0.072)
Temperaturein between
Nearest nameMidnight Purple (#280137)
Black text1.18:1
White text17.73:1

Values

HEX#210F35
RGBrgb(33, 15, 53)
HSLhsl(268, 56%, 13%)
OKLCHoklch(21.8% 0.072 302.6)

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 #210F35 17.73:1 AAA Lc -106.6 Preferred for body text
Black text on #210F35 1.18:1 Fails Lc 0.0 Not readable
#210F35 text on white 17.73:1 AAA Lc 104.3 Preferred for body text
#210F35 text on black 1.18: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

    #F7F4FC

    oklch(97.2% 0.011 303.1)

  2. Step 100

    100

    #EDE6F8

    oklch(93.6% 0.025 303.5)

  3. Step 200

    200

    #DFD2F4

    oklch(88.5% 0.048 302.8)

  4. Step 300

    300

    #CBB4EF

    oklch(80.9% 0.085 302.4)

  5. Step 400

    400

    #B18AE7

    oklch(70.6% 0.138 302.3)

  6. Step 500

    500

    #9F6ADF

    oklch(63.1% 0.174 302.6)

  7. Step 600

    600

    #8A4ECD

    oklch(55.6% 0.19 302.4)

  8. Step 700

    700

    #763EB1

    oklch(49.2% 0.176 302.8)

  9. Step 800

    800

    #60348F

    oklch(42.7% 0.146 303)

  10. Step 900

    900

    #4E2F73

    oklch(37.8% 0.114 302.3)

  11. Step 950

    950 (this color)

    #210F35

    oklch(21.8% 0.072 302.6)

Export this scale for Tailwind in the Tailwind colors tool

#210F35 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)#0018360.058
Deuteranopia (no green cones)#0518340.052
Tritanopia (no blue cones)#1D17200.053
Achromatopsia (no color)#1818180.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #210F35

    #210F35

    oklch(21.8% 0.072 302.6)

  • #161E00

    #161E00

    oklch(21.9% 0.054 122.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #210F35

    #210F35

    oklch(21.8% 0.072 302.6)

  • #10153B

    #10153B

    oklch(21.7% 0.073 273.1)

  • #2C0A28

    #2C0A28

    oklch(21.8% 0.071 332.7)

Open the analogous palette in the generator

Split complementary

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

  • #210F35

    #210F35

    oklch(21.8% 0.072 302.6)

  • #211900

    #211900

    oklch(21.7% 0.044 92.8)

  • #00210C

    #00210C

    oklch(21.7% 0.057 152.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #210F35

    #210F35

    oklch(21.8% 0.072 302.6)

  • #2A1400

    #2A1400

    oklch(21.8% 0.05 62.7)

  • #00201C

    #00201C

    oklch(21.9% 0.039 183.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #210F35

    #210F35

    oklch(21.8% 0.072 302.6)

  • #340803

    #340803

    oklch(21.7% 0.072 32.1)

  • #161E00

    #161E00

    oklch(21.9% 0.054 122.6)

  • #001E24

    #001E24

    oklch(21.6% 0.038 213)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #210F35 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.