#380B42

Closest named color: Dark Purple (#35063E). oklch(25.9% 0.104 319.6), rgb(56, 11, 66).

Aa

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

About this color

#380B42 is a dark, moderately saturated purple. In OKLCH its lightness is 26%, its chroma 0.104 and its hue 320°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Purple (#35063E), ΔE 0.014 away. White text reads best on it, at 16.22:1.

Hue familyPurples
Lightnessdark (26%)
Chromamoderately saturated (0.104)
Temperaturein between
Nearest nameDark Purple (#35063E)
Black text1.29:1
White text16.22:1

Values

HEX#380B42
RGBrgb(56, 11, 66)
HSLhsl(289, 71%, 15%)
OKLCHoklch(25.9% 0.104 319.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 #380B42 16.22:1 AAA Lc -105.2 Preferred for body text
Black text on #380B42 1.29:1 Fails Lc 0.0 Not readable
#380B42 text on white 16.22:1 AAA Lc 102.6 Preferred for body text
#380B42 text on black 1.29: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

    #FBF2FD

    oklch(97.1% 0.017 320.1)

  2. Step 100

    100

    #F5E3F9

    oklch(93.7% 0.035 320.1)

  3. Step 200

    200

    #EECBF6

    oklch(88.5% 0.069 320)

  4. Step 300

    300

    #E3A6F2

    oklch(80.8% 0.123 319.6)

  5. Step 400

    400

    #D471EC

    oklch(70.7% 0.197 319.5)

  6. Step 500

    500

    #C73FE5

    oklch(63% 0.251 319.7)

  7. Step 600

    600

    #B100D1

    oklch(55.5% 0.267 319.5)

  8. Step 700

    700

    #9600B1

    oklch(49.1% 0.236 319.7)

  9. Step 800

    800

    #7C0093

    oklch(42.8% 0.206 319.6)

  10. Step 900

    900

    #651276

    oklch(37.8% 0.164 319.8)

  11. Step 950

    950 (this color)

    #380B42

    oklch(25.9% 0.104 319.6)

Export this scale for Tailwind in the Tailwind colors tool

#380B42 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)#001D440.101
Deuteranopia (no green cones)#1022410.090
Tritanopia (no blue cones)#3816260.063
Achromatopsia (no color)#2020200.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #380B42

    #380B42

    oklch(25.9% 0.104 319.6)

  • #082C00

    #082C00

    oklch(25.7% 0.082 139.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #380B42

    #380B42

    oklch(25.9% 0.104 319.6)

  • #251551

    #251551

    oklch(25.9% 0.103 289.4)

  • #44032B

    #44032B

    oklch(25.9% 0.103 349.4)

Open the analogous palette in the generator

Split complementary

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

  • #380B42

    #380B42

    oklch(25.9% 0.104 319.6)

  • #262600

    #262600

    oklch(26% 0.057 109.8)

  • #002B20

    #002B20

    oklch(25.7% 0.05 170.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #380B42

    #380B42

    oklch(25.9% 0.104 319.6)

  • #312000

    #312000

    oklch(25.8% 0.054 79.7)

  • #002A2C

    #002A2C

    oklch(25.9% 0.044 199.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #380B42

    #380B42

    oklch(25.9% 0.104 319.6)

  • #3D1700

    #3D1700

    oklch(25.9% 0.069 49.3)

  • #082C00

    #082C00

    oklch(25.7% 0.082 139.6)

  • #002837

    #002837

    oklch(25.9% 0.051 228.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #380B42 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.