#25152A

Closest named color: Rich Black (#0D1B2A). oklch(22.7% 0.045 317.9), rgb(37, 21, 42).

Aa

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

About this color

#25152A is a very dark, muted purple. In OKLCH its lightness is 23%, its chroma 0.045 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.046 away. White text reads best on it, at 17.22:1.

Hue familyPurples
Lightnessvery dark (23%)
Chromamuted (0.045)
Temperaturein between
Nearest nameRich Black (#0D1B2A)
Black text1.21:1
White text17.22:1

Values

HEX#25152A
RGBrgb(37, 21, 42)
HSLhsl(286, 33%, 12%)
OKLCHoklch(22.7% 0.045 317.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 #25152A 17.22:1 AAA Lc -106.4 Preferred for body text
Black text on #25152A 1.21:1 Fails Lc 0.0 Not readable
#25152A text on white 17.22:1 AAA Lc 104.0 Preferred for body text
#25152A text on black 1.21: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

    #F7F4F9

    oklch(97.1% 0.007 312.3)

  2. Step 100

    100

    #EEE7F1

    oklch(93.6% 0.015 316)

  3. Step 200

    200

    #E2D3E6

    oklch(88.5% 0.03 319.1)

  4. Step 300

    300

    #CFB6D8

    oklch(80.8% 0.054 317.1)

  5. Step 400

    400

    #B790C4

    oklch(70.7% 0.086 317.6)

  6. Step 500

    500

    #A573B5

    oklch(63.1% 0.111 317.7)

  7. Step 600

    600

    #905BA0

    oklch(55.6% 0.119 318.1)

  8. Step 700

    700

    #7A4A89

    oklch(49% 0.111 317.8)

  9. Step 800

    800

    #643D6F

    oklch(42.7% 0.092 318.6)

  10. Step 900

    900

    #51355A

    oklch(37.7% 0.071 317.7)

  11. Step 950

    950 (this color)

    #25152A

    oklch(22.7% 0.045 317.9)

Export this scale for Tailwind in the Tailwind colors tool

#25152A 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)#121A2B0.038
Deuteranopia (no green cones)#161C290.036
Tritanopia (no blue cones)#25181D0.030
Achromatopsia (no color)#1B1B1B0.046

Harmonies

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

Complementary

The opposite hue (180°).

  • #25152A

    #25152A

    oklch(22.7% 0.045 317.9)

  • #11210B

    #11210B

    oklch(22.7% 0.045 137.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #25152A

    #25152A

    oklch(22.7% 0.045 317.9)

  • #1B1830

    #1B1830

    oklch(22.6% 0.046 287.9)

  • #2B1320

    #2B1320

    oklch(22.7% 0.044 347.5)

Open the analogous palette in the generator

Split complementary

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

  • #25152A

    #25152A

    oklch(22.7% 0.045 317.9)

  • #1E1E02

    #1E1E02

    oklch(22.8% 0.046 109.6)

  • #012318

    #012318

    oklch(22.8% 0.045 167.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #25152A

    #25152A

    oklch(22.7% 0.045 317.9)

  • #281901

    #281901

    oklch(22.7% 0.046 77.4)

  • #002223

    #002223

    oklch(22.9% 0.039 197.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #25152A

    #25152A

    oklch(22.7% 0.045 317.9)

  • #2D1508

    #2D1508

    oklch(22.7% 0.045 47.9)

  • #11210B

    #11210B

    oklch(22.7% 0.045 137.8)

  • #00202C

    #00202C

    oklch(22.7% 0.044 227)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #25152A 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.