#382874

Closest named color: Indigo (#4B0082). oklch(34.3% 0.124 287.6), rgb(56, 40, 116).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (34%)
Chromamoderately saturated (0.124)
Temperaturecool
Nearest nameIndigo (#4B0082)
Black text1.72:1
White text12.18:1

Values

HEX#382874
RGBrgb(56, 40, 116)
HSLhsl(253, 49%, 31%)
OKLCHoklch(34.3% 0.124 287.6)

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 #382874 12.18:1 AAA Lc -101.0 Preferred for body text
Black text on #382874 1.72:1 Fails Lc 0.0 Not readable
#382874 text on white 12.18:1 AAA Lc 97.4 Preferred for body text
#382874 text on black 1.72: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

    #D6D4FA

    oklch(88.4% 0.052 287.7)

  4. Step 300

    300

    #BDB8FA

    oklch(81% 0.093 287.6)

  5. Step 400

    400

    #9C90F8

    oklch(70.8% 0.149 287.2)

  6. Step 500

    500

    #8770F4

    oklch(63.2% 0.19 287.7)

  7. Step 600

    600

    #7253E3

    oklch(55.5% 0.208 287.5)

  8. Step 700

    700

    #6042C5

    oklch(49% 0.193 287.6)

  9. Step 800

    800

    #4E389F

    oklch(42.7% 0.159 287.5)

  10. Step 900

    900 (this color)

    #382874

    oklch(34.3% 0.124 287.6)

  11. Step 950

    950

    #251E4A

    oklch(27% 0.079 287.2)

Export this scale for Tailwind in the Tailwind colors tool

#382874 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.066
Deuteranopia (no green cones)#0033720.065
Tritanopia (no blue cones)#233A4A0.102
Achromatopsia (no color)#3535350.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #382874

    #382874

    oklch(34.3% 0.124 287.6)

  • #3D3B00

    #3D3B00

    oklch(34.3% 0.074 107.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #382874

    #382874

    oklch(34.3% 0.124 287.6)

  • #003577

    #003577

    oklch(34.3% 0.124 257.5)

  • #521C61

    #521C61

    oklch(34.2% 0.124 318.1)

Open the analogous palette in the generator

Split complementary

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

  • #382874

    #382874

    oklch(34.3% 0.124 287.6)

  • #4D3300

    #4D3300

    oklch(34.3% 0.072 77.5)

  • #184400

    #184400

    oklch(34.2% 0.105 137.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #382874

    #382874

    oklch(34.3% 0.124 287.6)

  • #5E2500

    #5E2500

    oklch(34.2% 0.094 47.2)

  • #004431

    #004431

    oklch(34.3% 0.07 167.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #382874

    #382874

    oklch(34.3% 0.124 287.6)

  • #6A0E1F

    #6A0E1F

    oklch(34.2% 0.124 17.7)

  • #3D3B00

    #3D3B00

    oklch(34.3% 0.074 107.6)

  • #004243

    #004243

    oklch(34.4% 0.059 196.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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