#251235

Closest named color: Midnight Purple (#280137). oklch(22.9% 0.068 306.9), rgb(37, 18, 53).

Aa

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

About this color

#251235 is a very dark, muted purple. In OKLCH its lightness is 23%, its chroma 0.068 and its hue 307°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Midnight Purple (#280137), ΔE 0.040 away. White text reads best on it, at 17.26:1.

Hue familyPurples
Lightnessvery dark (23%)
Chromamuted (0.068)
Temperaturein between
Nearest nameMidnight Purple (#280137)
Black text1.21:1
White text17.26:1

Values

HEX#251235
RGBrgb(37, 18, 53)
HSLhsl(273, 49%, 14%)
OKLCHoklch(22.9% 0.068 306.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 #251235 17.26:1 AAA Lc -106.3 Preferred for body text
Black text on #251235 1.21:1 Fails Lc 0.0 Not readable
#251235 text on white 17.26:1 AAA Lc 104.0 Preferred for body text
#251235 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

    #F7F4FB

    oklch(97.1% 0.01 305.4)

  2. Step 100

    100

    #EEE6F6

    oklch(93.6% 0.023 308.2)

  3. Step 200

    200

    #E1D2F1

    oklch(88.5% 0.045 307.2)

  4. Step 300

    300

    #CEB3EA

    oklch(80.8% 0.081 306.9)

  5. Step 400

    400

    #B68ADF

    oklch(70.7% 0.129 307.2)

  6. Step 500

    500

    #A46AD6

    oklch(63.1% 0.165 307.1)

  7. Step 600

    600

    #8F4FC3

    oklch(55.6% 0.178 307)

  8. Step 700

    700

    #7A3FA9

    oklch(49.2% 0.167 306.9)

  9. Step 800

    800

    #633588

    oklch(42.7% 0.136 307.1)

  10. Step 900

    900

    #512F6D

    oklch(37.8% 0.107 307.4)

  11. Step 950

    950 (this color)

    #251235

    oklch(22.9% 0.068 306.9)

Export this scale for Tailwind in the Tailwind colors tool

#251235 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)#061A360.055
Deuteranopia (no green cones)#0D1B340.049
Tritanopia (no blue cones)#2219210.050
Achromatopsia (no color)#1B1B1B0.068

Harmonies

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

Complementary

The opposite hue (180°).

  • #251235

    #251235

    oklch(22.9% 0.068 306.9)

  • #152100

    #152100

    oklch(22.8% 0.059 126.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #251235

    #251235

    oklch(22.9% 0.068 306.9)

  • #15183C

    #15183C

    oklch(22.9% 0.068 276)

  • #2F0D28

    #2F0D28

    oklch(22.8% 0.068 336.4)

Open the analogous palette in the generator

Split complementary

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

  • #251235

    #251235

    oklch(22.9% 0.068 306.9)

  • #231C00

    #231C00

    oklch(22.8% 0.047 96)

  • #002412

    #002412

    oklch(22.9% 0.054 157.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #251235

    #251235

    oklch(22.9% 0.068 306.9)

  • #2C1700

    #2C1700

    oklch(22.9% 0.051 66.9)

  • #002320

    #002320

    oklch(23.1% 0.04 186.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #251235

    #251235

    oklch(22.9% 0.068 306.9)

  • #360D03

    #360D03

    oklch(22.8% 0.069 36.6)

  • #152100

    #152100

    oklch(22.8% 0.059 126.8)

  • #002129

    #002129

    oklch(22.9% 0.041 217.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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