#25123F

Closest named color: Midnight Purple (#280137). oklch(23.7% 0.082 299.5), rgb(37, 18, 63).

Aa

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

About this color

#25123F is a very dark, moderately saturated purple. In OKLCH its lightness is 24%, its chroma 0.082 and its hue 299°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Midnight Purple (#280137), ΔE 0.041 away. White text reads best on it, at 16.97:1.

Hue familyPurples
Lightnessvery dark (24%)
Chromamoderately saturated (0.082)
Temperaturein between
Nearest nameMidnight Purple (#280137)
Black text1.23:1
White text16.97:1

Values

HEX#25123F
RGBrgb(37, 18, 63)
HSLhsl(265, 56%, 16%)
OKLCHoklch(23.7% 0.082 299.5)

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 #25123F 16.97:1 AAA Lc -106.1 Preferred for body text
Black text on #25123F 1.23:1 Fails Lc 0.0 Not readable
#25123F text on white 16.97:1 AAA Lc 103.6 Preferred for body text
#25123F text on black 1.23: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

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #ECE6FB

    oklch(93.6% 0.029 298.9)

  3. Step 200

    200

    #DED2F9

    oklch(88.6% 0.054 299.3)

  4. Step 300

    300

    #C9B3F7

    oklch(80.9% 0.097 299.1)

  5. Step 400

    400

    #AF88F3

    oklch(70.7% 0.156 299.2)

  6. Step 500

    500

    #9D65EE

    oklch(63.1% 0.199 299.5)

  7. Step 600

    600

    #8947DD

    oklch(55.7% 0.217 299.4)

  8. Step 700

    700

    #7436BF

    oklch(49% 0.201 299.5)

  9. Step 800

    800

    #5F2F9B

    oklch(42.8% 0.167 299.6)

  10. Step 900

    900

    #4D2B7B

    oklch(37.6% 0.131 299.7)

  11. Step 950

    950 (this color)

    #25123F

    oklch(23.7% 0.082 299.5)

Export this scale for Tailwind in the Tailwind colors tool

#25123F 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)#001C400.060
Deuteranopia (no green cones)#021C3E0.059
Tritanopia (no blue cones)#1F1C260.063
Achromatopsia (no color)#1C1C1C0.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #25123F

    #25123F

    oklch(23.7% 0.082 299.5)

  • #1C2200

    #1C2200

    oklch(23.7% 0.056 118.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #25123F

    #25123F

    oklch(23.7% 0.082 299.5)

  • #101945

    #101945

    oklch(23.6% 0.083 270.1)

  • #320B31

    #320B31

    oklch(23.6% 0.083 328.9)

Open the analogous palette in the generator

Split complementary

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

  • #25123F

    #25123F

    oklch(23.7% 0.082 299.5)

  • #281D00

    #281D00

    oklch(23.8% 0.049 88.6)

  • #00270C

    #00270C

    oklch(23.8% 0.066 149.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #25123F

    #25123F

    oklch(23.7% 0.082 299.5)

  • #311700

    #311700

    oklch(23.7% 0.056 60.2)

  • #00251F

    #00251F

    oklch(23.7% 0.043 179.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #25123F

    #25123F

    oklch(23.7% 0.082 299.5)

  • #3D0805

    #3D0805

    oklch(23.7% 0.082 29.1)

  • #1C2200

    #1C2200

    oklch(23.7% 0.056 118.9)

  • #002429

    #002429

    oklch(23.8% 0.041 208.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #25123F 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.