#382774

Closest named color: Indigo (#4B0082). oklch(34.1% 0.126 288), rgb(56, 39, 116).

Aa

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

About this color

#382774 is a dark, moderately saturated purple. In OKLCH its lightness is 34%, its chroma 0.126 and its hue 288°. Its hue sits on the cool side of the wheel. The nearest named color is Indigo (#4B0082), ΔE 0.064 away. White text reads best on it, at 12.27:1.

Hue familyPurples
Lightnessdark (34%)
Chromamoderately saturated (0.126)
Temperaturecool
Nearest nameIndigo (#4B0082)
Black text1.71:1
White text12.27:1

Values

HEX#382774
RGBrgb(56, 39, 116)
HSLhsl(253, 50%, 30%)
OKLCHoklch(34.1% 0.126 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 #382774 12.27:1 AAA Lc -101.1 Preferred for body text
Black text on #382774 1.71:1 Fails Lc 0.0 Not readable
#382774 text on white 12.27:1 AAA Lc 97.6 Preferred for body text
#382774 text on black 1.71: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

    #9D8FF8

    oklch(70.7% 0.15 288)

  6. Step 500

    500

    #876FF5

    oklch(63.1% 0.193 287.8)

  7. Step 600

    600

    #7352E4

    oklch(55.6% 0.21 287.9)

  8. Step 700

    700

    #6141C6

    oklch(49% 0.195 288)

  9. Step 800

    800

    #4F37A0

    oklch(42.7% 0.161 288.1)

  10. Step 900

    900 (this color)

    #382774

    oklch(34.1% 0.126 288)

  11. Step 950

    950

    #261E4A

    oklch(27.1% 0.079 288.4)

Export this scale for Tailwind in the Tailwind colors tool

#382774 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)#0037760.067
Deuteranopia (no green cones)#0033720.066
Tritanopia (no blue cones)#2339490.103
Achromatopsia (no color)#3535350.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #382774

    #382774

    oklch(34.1% 0.126 288)

  • #3C3B00

    #3C3B00

    oklch(34.2% 0.074 108.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #382774

    #382774

    oklch(34.1% 0.126 288)

  • #003477

    #003477

    oklch(34% 0.126 257.9)

  • #521B61

    #521B61

    oklch(34.1% 0.126 318.2)

Open the analogous palette in the generator

Split complementary

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

  • #382774

    #382774

    oklch(34.1% 0.126 288)

  • #4C3300

    #4C3300

    oklch(34.2% 0.071 78.6)

  • #174400

    #174400

    oklch(34.2% 0.106 138)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #382774

    #382774

    oklch(34.1% 0.126 288)

  • #5D2500

    #5D2500

    oklch(34.1% 0.093 47.6)

  • #004331

    #004331

    oklch(34% 0.069 168)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #382774

    #382774

    oklch(34.1% 0.126 288)

  • #6A0C1E

    #6A0C1E

    oklch(34% 0.125 17.9)

  • #3C3B00

    #3C3B00

    oklch(34.2% 0.074 108.7)

  • #004143

    #004143

    oklch(34.1% 0.058 198.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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