#180525

Closest named color: Midnight Purple (#280137). oklch(17.2% 0.066 308.8), rgb(24, 5, 37).

Aa

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

About this color

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

Hue familyPurples
Lightnessvery dark (17%)
Chromamuted (0.066)
Temperaturein between
Nearest nameMidnight Purple (#280137)
Black text1.08:1
White text19.31:1

Values

HEX#180525
RGBrgb(24, 5, 37)
HSLhsl(276, 76%, 8%)
OKLCHoklch(17.2% 0.066 308.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 #180525 19.31:1 AAA Lc -107.4 Preferred for body text
Black text on #180525 1.08:1 Fails Lc 0.0 Not readable
#180525 text on white 19.31:1 AAA Lc 105.4 Preferred for body text
#180525 text on black 1.08: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

    #E1D2F0

    oklch(88.5% 0.044 307.9)

  4. Step 300

    300

    #CFB3E8

    oklch(80.8% 0.079 308.6)

  5. Step 400

    400

    #B78ADC

    oklch(70.7% 0.125 308.7)

  6. Step 500

    500

    #A56AD2

    oklch(63% 0.16 308.7)

  7. Step 600

    600

    #914FBF

    oklch(55.6% 0.174 309)

  8. Step 700

    700

    #7B3FA5

    oklch(49.1% 0.162 308.7)

  9. Step 800

    800

    #643586

    oklch(42.7% 0.134 308.5)

  10. Step 900

    900

    #522F6B

    oklch(37.7% 0.105 309.2)

  11. Step 950

    950 (this color)

    #180525

    oklch(17.2% 0.066 308.8)

Export this scale for Tailwind in the Tailwind colors tool

#180525 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)#000D260.055
Deuteranopia (no green cones)#010E240.054
Tritanopia (no blue cones)#160B130.046
Achromatopsia (no color)#0E0E0E0.067

Harmonies

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

Complementary

The opposite hue (180°).

  • #180525

    #180525

    oklch(17.2% 0.066 308.8)

  • #091300

    #091300

    oklch(17% 0.045 129.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #180525

    #180525

    oklch(17.2% 0.066 308.8)

  • #0B0A2B

    #0B0A2B

    oklch(17.2% 0.065 278.5)

  • #200219

    #200219

    oklch(17% 0.066 338.2)

Open the analogous palette in the generator

Split complementary

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

  • #180525

    #180525

    oklch(17.2% 0.066 308.8)

  • #141000

    #141000

    oklch(17.3% 0.036 98.8)

  • #001509

    #001509

    oklch(17.2% 0.04 158.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #180525

    #180525

    oklch(17.2% 0.066 308.8)

  • #1A0C00

    #1A0C00

    oklch(17.1% 0.037 68.6)

  • #001412

    #001412

    oklch(17.2% 0.03 186.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #180525

    #180525

    oklch(17.2% 0.066 308.8)

  • #220500

    #220500

    oklch(17.1% 0.054 39.2)

  • #091300

    #091300

    oklch(17% 0.045 129.3)

  • #001319

    #001319

    oklch(17.2% 0.031 218.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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