#362472

Closest named color: Midnight Blue (#191970). oklch(33.2% 0.127 288), rgb(54, 36, 114).

Aa

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

About this color

#362472 is a dark, moderately saturated purple. In OKLCH its lightness is 33%, its chroma 0.127 and its hue 288°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight Blue (#191970), ΔE 0.059 away. White text reads best on it, at 12.71:1.

Hue familyPurples
Lightnessdark (33%)
Chromamoderately saturated (0.127)
Temperaturecool
Nearest nameMidnight Blue (#191970)
Black text1.65:1
White text12.71:1

Values

HEX#362472
RGBrgb(54, 36, 114)
HSLhsl(254, 52%, 29%)
OKLCHoklch(33.2% 0.127 288)

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 #362472 12.71:1 AAA Lc -101.7 Preferred for body text
Black text on #362472 1.65:1 Fails Lc 0.0 Not readable
#362472 text on white 12.71:1 AAA Lc 98.3 Preferred for body text
#362472 text on black 1.65: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 900.

  1. Step 50

    50

    #F5F4FE

    oklch(97.1% 0.013 290.8)

  2. Step 100

    100

    #E8E7FC

    oklch(93.5% 0.028 288)

  3. Step 200

    200

    #D7D4FB

    oklch(88.5% 0.053 288.8)

  4. Step 300

    300

    #BDB7FB

    oklch(80.9% 0.095 288.1)

  5. Step 400

    400

    #9D8FF9

    oklch(70.7% 0.152 287.9)

  6. Step 500

    500

    #886EF6

    oklch(63.1% 0.195 288.3)

  7. Step 600

    600

    #7351E5

    oklch(55.5% 0.213 288)

  8. Step 700

    700

    #6141C7

    oklch(49.1% 0.197 287.9)

  9. Step 800

    800

    #4F36A1

    oklch(42.6% 0.164 288.1)

  10. Step 900

    900 (this color)

    #362472

    oklch(33.2% 0.127 288)

  11. Step 950

    950

    #261E4B

    oklch(27.1% 0.08 288)

Export this scale for Tailwind in the Tailwind colors tool

#362472 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)#0034740.066
Deuteranopia (no green cones)#0031700.065
Tritanopia (no blue cones)#2137470.104
Achromatopsia (no color)#3333330.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #362472

    #362472

    oklch(33.2% 0.127 288)

  • #3A3800

    #3A3800

    oklch(33.2% 0.071 107.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #362472

    #362472

    oklch(33.2% 0.127 288)

  • #003273

    #003273

    oklch(33.2% 0.123 257.9)

  • #50185F

    #50185F

    oklch(33.3% 0.127 318.3)

Open the analogous palette in the generator

Split complementary

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

  • #362472

    #362472

    oklch(33.2% 0.127 288)

  • #493100

    #493100

    oklch(33.3% 0.069 78.9)

  • #164100

    #164100

    oklch(33.2% 0.102 137.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #362472

    #362472

    oklch(33.2% 0.127 288)

  • #592400

    #592400

    oklch(33.2% 0.09 48.5)

  • #00412F

    #00412F

    oklch(33.3% 0.068 167.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #362472

    #362472

    oklch(33.2% 0.127 288)

  • #68061B

    #68061B

    oklch(33.2% 0.127 18.2)

  • #3A3800

    #3A3800

    oklch(33.2% 0.071 107.5)

  • #003F40

    #003F40

    oklch(33.3% 0.057 196.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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