#383872

Closest named color: Twilight Blue (#0A437A). oklch(37.2% 0.097 280.6), rgb(56, 56, 114).

Aa

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

About this color

#383872 is a dark, moderately saturated purple. In OKLCH its lightness is 37%, its chroma 0.097 and its hue 281°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.051 away. White text reads best on it, at 10.62:1.

Hue familyPurples
Lightnessdark (37%)
Chromamoderately saturated (0.097)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text1.97:1
White text10.62:1

Values

HEX#383872
RGBrgb(56, 56, 114)
HSLhsl(240, 34%, 33%)
OKLCHoklch(37.2% 0.097 280.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 #383872 10.62:1 AAA Lc -98.4 Preferred for body text
Black text on #383872 1.97:1 Fails Lc 9.4 Not readable
#383872 text on white 10.62:1 AAA Lc 94.5 Preferred for body text
#383872 text on black 1.97:1 Fails Lc -8.1 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

    #F4F5FC

    oklch(97.1% 0.009 279.7)

  2. Step 100

    100

    #E7E9F8

    oklch(93.7% 0.02 279.9)

  3. Step 200

    200

    #D4D7F4

    oklch(88.6% 0.04 280.9)

  4. Step 300

    300

    #B7BCF0

    oklch(80.9% 0.073 280.3)

  5. Step 400

    400

    #9398E8

    oklch(70.8% 0.116 280.2)

  6. Step 500

    500

    #7A7CE1

    oklch(63.1% 0.149 280.4)

  7. Step 600

    600

    #6563CF

    oklch(55.7% 0.162 280.6)

  8. Step 700

    700

    #5451B3

    oklch(49.1% 0.151 280.6)

  9. Step 800

    800

    #444391

    oklch(42.7% 0.125 280.3)

  10. Step 900

    900 (this color)

    #383872

    oklch(37.2% 0.097 280.6)

  11. Step 950

    950

    #212244

    oklch(27% 0.062 280.1)

Export this scale for Tailwind in the Tailwind colors tool

#383872 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)#1E41740.038
Deuteranopia (no green cones)#1A3C710.038
Tritanopia (no blue cones)#23444F0.084
Achromatopsia (no color)#3E3E3E0.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #383872

    #383872

    oklch(37.2% 0.097 280.6)

  • #4A4100

    #4A4100

    oklch(37.3% 0.078 100.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #383872

    #383872

    oklch(37.2% 0.097 280.6)

  • #0C4271

    #0C4271

    oklch(37.2% 0.097 250.2)

  • #502F66

    #502F66

    oklch(37.2% 0.097 310.2)

Open the analogous palette in the generator

Split complementary

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

  • #383872

    #383872

    oklch(37.2% 0.097 280.6)

  • #5B3800

    #5B3800

    oklch(37.4% 0.081 70.8)

  • #2E4A05

    #2E4A05

    oklch(37.3% 0.097 130.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #383872

    #383872

    oklch(37.2% 0.097 280.6)

  • #692A12

    #692A12

    oklch(37.1% 0.097 40.1)

  • #004D31

    #004D31

    oklch(37.1% 0.083 160.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #383872

    #383872

    oklch(37.2% 0.097 280.6)

  • #6A2634

    #6A2634

    oklch(37.3% 0.098 10.6)

  • #4A4100

    #4A4100

    oklch(37.3% 0.078 100.4)

  • #004B48

    #004B48

    oklch(37.3% 0.064 190.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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