#381D54

Closest named color: Deep Violet (#490648). oklch(29.8% 0.097 303.7), rgb(56, 29, 84).

Aa

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

About this color

#381D54 is a dark, moderately saturated purple. In OKLCH its lightness is 30%, its chroma 0.097 and its hue 304°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Violet (#490648), ΔE 0.055 away. White text reads best on it, at 14.26:1.

Hue familyPurples
Lightnessdark (30%)
Chromamoderately saturated (0.097)
Temperaturein between
Nearest nameDeep Violet (#490648)
Black text1.47:1
White text14.26:1

Values

HEX#381D54
RGBrgb(56, 29, 84)
HSLhsl(269, 49%, 22%)
OKLCHoklch(29.8% 0.097 303.7)

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 #381D54 14.26:1 AAA Lc -103.7 Preferred for body text
Black text on #381D54 1.47:1 Fails Lc 0.0 Not readable
#381D54 text on white 14.26:1 AAA Lc 100.7 Preferred for body text
#381D54 text on black 1.47: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

    #F7F3FE

    oklch(97% 0.015 302.6)

  2. Step 100

    100

    #EEE5FD

    oklch(93.6% 0.033 302.7)

  3. Step 200

    200

    #E2CFFC

    oklch(88.4% 0.064 304.3)

  4. Step 300

    300

    #D0AEFE

    oklch(80.9% 0.116 303.4)

  5. Step 400

    400

    #BA7FFD

    oklch(70.8% 0.184 303.7)

  6. Step 500

    500

    #A955FA

    oklch(63% 0.236 303.6)

  7. Step 600

    600

    #952EE9

    oklch(55.5% 0.256 303.6)

  8. Step 700

    700

    #801CCB

    oklch(49.2% 0.239 303.8)

  9. Step 800

    800

    #681DA4

    oklch(42.8% 0.197 303.8)

  10. Step 900

    900

    #542182

    oklch(37.7% 0.154 303.7)

  11. Step 950

    950 (this color)

    #381D54

    oklch(29.8% 0.097 303.7)

Export this scale for Tailwind in the Tailwind colors tool

#381D54 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)#032A560.078
Deuteranopia (no green cones)#0F2A530.070
Tritanopia (no blue cones)#3328350.071
Achromatopsia (no color)#2A2A2A0.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #381D54

    #381D54

    oklch(29.8% 0.097 303.7)

  • #263300

    #263300

    oklch(29.8% 0.074 123.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #381D54

    #381D54

    oklch(29.8% 0.097 303.7)

  • #1F265D

    #1F265D

    oklch(29.8% 0.098 273.5)

  • #481541

    #481541

    oklch(29.7% 0.098 333.6)

Open the analogous palette in the generator

Split complementary

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

  • #381D54

    #381D54

    oklch(29.8% 0.097 303.7)

  • #372C00

    #372C00

    oklch(29.7% 0.061 94.1)

  • #00381A

    #00381A

    oklch(29.9% 0.077 153.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #381D54

    #381D54

    oklch(29.8% 0.097 303.7)

  • #442400

    #442400

    oklch(29.7% 0.068 63.1)

  • #003630

    #003630

    oklch(29.9% 0.053 183)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #381D54

    #381D54

    oklch(29.8% 0.097 303.7)

  • #541306

    #541306

    oklch(29.8% 0.098 33.3)

  • #263300

    #263300

    oklch(29.8% 0.074 123.7)

  • #00343D

    #00343D

    oklch(29.9% 0.052 213)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #381D54 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.