#252451

Closest named color: Space Cadet (#2B2D42). oklch(28.8% 0.08 281.1), rgb(37, 36, 81).

Aa

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

About this color

#252451 is a dark, moderately saturated purple. In OKLCH its lightness is 29%, its chroma 0.080 and its hue 281°. Its hue sits on the cool side of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.045 away. White text reads best on it, at 14.48:1.

Hue familyPurples
Lightnessdark (29%)
Chromamoderately saturated (0.080)
Temperaturecool
Nearest nameSpace Cadet (#2B2D42)
Black text1.44:1
White text14.48:1

Values

HEX#252451
RGBrgb(37, 36, 81)
HSLhsl(241, 38%, 23%)
OKLCHoklch(28.8% 0.08 281.1)

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 #252451 14.48:1 AAA Lc -104.0 Preferred for body text
Black text on #252451 1.44:1 Fails Lc 0.0 Not readable
#252451 text on white 14.48:1 AAA Lc 101.1 Preferred for body text
#252451 text on black 1.44: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

    #F4F5FE

    oklch(97.2% 0.012 281.1)

  2. Step 100

    100

    #E6E8FC

    oklch(93.5% 0.027 281.3)

  3. Step 200

    200

    #D2D6FC

    oklch(88.5% 0.052 280.5)

  4. Step 300

    300

    #B5BAFD

    oklch(80.9% 0.095 280.7)

  5. Step 400

    400

    #9193FC

    oklch(70.7% 0.151 281)

  6. Step 500

    500

    #7974F9

    oklch(63.1% 0.193 281)

  7. Step 600

    600

    #6558E8

    oklch(55.7% 0.209 281.2)

  8. Step 700

    700

    #5446CA

    oklch(49% 0.196 281.2)

  9. Step 800

    800

    #443BA3

    oklch(42.6% 0.161 281)

  10. Step 900

    900

    #393482

    oklch(37.7% 0.127 281.3)

  11. Step 950

    950 (this color)

    #252451

    oklch(28.8% 0.08 281.1)

Export this scale for Tailwind in the Tailwind colors tool

#252451 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)#0E2B530.033
Deuteranopia (no green cones)#0B28500.034
Tritanopia (no blue cones)#142E360.070
Achromatopsia (no color)#2929290.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #252451

    #252451

    oklch(28.8% 0.08 281.1)

  • #312B00

    #312B00

    oklch(28.7% 0.06 101.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #252451

    #252451

    oklch(28.8% 0.08 281.1)

  • #032C51

    #032C51

    oklch(28.9% 0.08 250.9)

  • #371D47

    #371D47

    oklch(28.7% 0.079 310.9)

Open the analogous palette in the generator

Split complementary

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

  • #252451

    #252451

    oklch(28.8% 0.08 281.1)

  • #3E2500

    #3E2500

    oklch(28.9% 0.062 71.5)

  • #1C3200

    #1C3200

    oklch(28.7% 0.079 131.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #252451

    #252451

    oklch(28.8% 0.08 281.1)

  • #4A1A05

    #4A1A05

    oklch(28.9% 0.079 41.9)

  • #003420

    #003420

    oklch(28.7% 0.064 161.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #252451

    #252451

    oklch(28.8% 0.08 281.1)

  • #4A1621

    #4A1621

    oklch(28.8% 0.079 10.8)

  • #312B00

    #312B00

    oklch(28.7% 0.06 101.2)

  • #003231

    #003231

    oklch(28.7% 0.049 192.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #252451 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.