#381D5B

Closest named color: Deep Violet (#490648). oklch(30.3% 0.107 300.1), rgb(56, 29, 91).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (30%)
Chromamoderately saturated (0.107)
Temperaturein between
Nearest nameDeep Violet (#490648)
Black text1.49:1
White text14.04:1

Values

HEX#381D5B
RGBrgb(56, 29, 91)
HSLhsl(266, 52%, 24%)
OKLCHoklch(30.3% 0.107 300.1)

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 #381D5B 14.04:1 AAA Lc -103.4 Preferred for body text
Black text on #381D5B 1.49:1 Fails Lc 0.0 Not readable
#381D5B text on white 14.04:1 AAA Lc 100.4 Preferred for body text
#381D5B text on black 1.49: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

    #F7F3FF

    oklch(97.1% 0.016 301.2)

  2. Step 100

    100

    #EDE5FF

    oklch(93.6% 0.036 299.7)

  3. Step 200

    200

    #DFD0FF

    oklch(88.5% 0.066 299.6)

  4. Step 300

    300

    #CCB0FF

    oklch(80.9% 0.113 300.2)

  5. Step 400

    400

    #B382FF

    oklch(70.7% 0.18 299.9)

  6. Step 500

    500

    #A359FF

    oklch(63.2% 0.235 300.2)

  7. Step 600

    600

    #921EFA

    oklch(55.6% 0.281 300)

  8. Step 700

    700

    #7D02DA

    oklch(49.1% 0.261 300)

  9. Step 800

    800

    #6511B0

    oklch(42.7% 0.216 299.9)

  10. Step 900

    900

    #521D8B

    oklch(37.8% 0.168 300.1)

  11. Step 950

    950 (this color)

    #381D5B

    oklch(30.3% 0.107 300.1)

Export this scale for Tailwind in the Tailwind colors tool

#381D5B 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)#002B5D0.079
Deuteranopia (no green cones)#042B5A0.077
Tritanopia (no blue cones)#302B390.081
Achromatopsia (no color)#2C2C2C0.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #381D5B

    #381D5B

    oklch(30.3% 0.107 300.1)

  • #2A3300

    #2A3300

    oklch(30.2% 0.072 119.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #381D5B

    #381D5B

    oklch(30.3% 0.107 300.1)

  • #1B2763

    #1B2763

    oklch(30.2% 0.107 270.2)

  • #4A1447

    #4A1447

    oklch(30.3% 0.106 330.1)

Open the analogous palette in the generator

Split complementary

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

  • #381D5B

    #381D5B

    oklch(30.3% 0.107 300.1)

  • #3B2D00

    #3B2D00

    oklch(30.4% 0.062 90.1)

  • #003A16

    #003A16

    oklch(30.5% 0.084 150)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #381D5B

    #381D5B

    oklch(30.3% 0.107 300.1)

  • #482400

    #482400

    oklch(30.3% 0.071 59.4)

  • #003730

    #003730

    oklch(30.2% 0.054 181.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #381D5B

    #381D5B

    oklch(30.3% 0.107 300.1)

  • #590F08

    #590F08

    oklch(30.4% 0.107 30)

  • #2A3300

    #2A3300

    oklch(30.2% 0.072 119.8)

  • #00363D

    #00363D

    oklch(30.5% 0.052 208.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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