#25173F

Closest named color: Dark Purple (#35063E). oklch(24.6% 0.074 296.8), rgb(37, 23, 63).

Aa

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

About this color

#25173F is a very dark, moderately saturated purple. In OKLCH its lightness is 25%, its chroma 0.074 and its hue 297°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Purple (#35063E), ΔE 0.048 away. White text reads best on it, at 16.49:1.

Hue familyPurples
Lightnessvery dark (25%)
Chromamoderately saturated (0.074)
Temperaturein between
Nearest nameDark Purple (#35063E)
Black text1.27:1
White text16.49:1

Values

HEX#25173F
RGBrgb(37, 23, 63)
HSLhsl(261, 47%, 17%)
OKLCHoklch(24.6% 0.074 296.8)

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 #25173F 16.49:1 AAA Lc -105.8 Preferred for body text
Black text on #25173F 1.27:1 Fails Lc 0.0 Not readable
#25173F text on white 16.49:1 AAA Lc 103.3 Preferred for body text
#25173F text on black 1.27: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

    #EBE7F9

    oklch(93.6% 0.024 296.1)

  3. Step 200

    200

    #DCD3F6

    oklch(88.5% 0.049 297.2)

  4. Step 300

    300

    #C6B5F3

    oklch(80.9% 0.088 297)

  5. Step 400

    400

    #AA8CEC

    oklch(70.6% 0.14 297.1)

  6. Step 500

    500

    #966DE6

    oklch(63.1% 0.177 296.6)

  7. Step 600

    600

    #8251D4

    oklch(55.7% 0.193 296.9)

  8. Step 700

    700

    #6E40B8

    oklch(49.1% 0.18 296.8)

  9. Step 800

    800

    #593695

    oklch(42.7% 0.149 296.5)

  10. Step 900

    900

    #493077

    oklch(37.7% 0.117 296.6)

  11. Step 950

    950 (this color)

    #25173F

    oklch(24.6% 0.074 296.8)

Export this scale for Tailwind in the Tailwind colors tool

#25173F 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)#051F400.051
Deuteranopia (no green cones)#091E3E0.047
Tritanopia (no blue cones)#1F1F280.057
Achromatopsia (no color)#1F1F1F0.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #25173F

    #25173F

    oklch(24.6% 0.074 296.8)

  • #1F2400

    #1F2400

    oklch(24.7% 0.057 117.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #25173F

    #25173F

    oklch(24.6% 0.074 296.8)

  • #111E43

    #111E43

    oklch(24.7% 0.072 266.6)

  • #321133

    #321133

    oklch(24.6% 0.075 326.4)

Open the analogous palette in the generator

Split complementary

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

  • #25173F

    #25173F

    oklch(24.6% 0.074 296.8)

  • #2B1F00

    #2B1F00

    oklch(24.7% 0.05 87.7)

  • #002908

    #002908

    oklch(24.5% 0.073 146.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #25173F

    #25173F

    oklch(24.6% 0.074 296.8)

  • #351800

    #351800

    oklch(24.6% 0.059 57.6)

  • #002820

    #002820

    oklch(24.7% 0.046 175.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #25173F

    #25173F

    oklch(24.6% 0.074 296.8)

  • #3D0E0C

    #3D0E0C

    oklch(24.6% 0.074 26.5)

  • #1F2400

    #1F2400

    oklch(24.7% 0.057 117.2)

  • #00262B

    #00262B

    oklch(24.6% 0.042 207.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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