#381A52

Closest named color: Deep Violet (#490648). oklch(29.1% 0.1 305.8), rgb(56, 26, 82).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (29%)
Chromamoderately saturated (0.100)
Temperaturein between
Nearest nameDeep Violet (#490648)
Black text1.43:1
White text14.60:1

Values

HEX#381A52
RGBrgb(56, 26, 82)
HSLhsl(272, 52%, 21%)
OKLCHoklch(29.1% 0.1 305.8)

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 #381A52 14.60:1 AAA Lc -104.0 Preferred for body text
Black text on #381A52 1.43:1 Fails Lc 0.0 Not readable
#381A52 text on white 14.60:1 AAA Lc 101.1 Preferred for body text
#381A52 text on black 1.43: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

    #F8F3FE

    oklch(97.1% 0.015 306.4)

  2. Step 100

    100

    #EFE5FD

    oklch(93.7% 0.034 304.5)

  3. Step 200

    200

    #E3CFFC

    oklch(88.5% 0.065 305.3)

  4. Step 300

    300

    #D3ADFD

    oklch(80.9% 0.117 305.7)

  5. Step 400

    400

    #BE7CFC

    oklch(70.7% 0.189 306)

  6. Step 500

    500

    #AE51FA

    oklch(63.1% 0.242 305.7)

  7. Step 600

    600

    #9A27E9

    oklch(55.6% 0.262 305.6)

  8. Step 700

    700

    #8413CA

    oklch(49.1% 0.244 305.9)

  9. Step 800

    800

    #6B18A3

    oklch(42.7% 0.201 305.9)

  10. Step 900

    900

    #571F82

    oklch(37.8% 0.157 305.8)

  11. Step 950

    950 (this color)

    #381A52

    oklch(29.1% 0.1 305.8)

Export this scale for Tailwind in the Tailwind colors tool

#381A52 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)#0028540.083
Deuteranopia (no green cones)#0D29510.075
Tritanopia (no blue cones)#3426330.072
Achromatopsia (no color)#2929290.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #381A52

    #381A52

    oklch(29.1% 0.1 305.8)

  • #233200

    #233200

    oklch(29.3% 0.074 125.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #381A52

    #381A52

    oklch(29.1% 0.1 305.8)

  • #20235C

    #20235C

    oklch(29.1% 0.1 275.9)

  • #48123E

    #48123E

    oklch(29.2% 0.1 336.1)

Open the analogous palette in the generator

Split complementary

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

  • #381A52

    #381A52

    oklch(29.1% 0.1 305.8)

  • #352B00

    #352B00

    oklch(29.2% 0.06 95.3)

  • #00361C

    #00361C

    oklch(29.3% 0.071 155.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #381A52

    #381A52

    oklch(29.1% 0.1 305.8)

  • #412400

    #412400

    oklch(29.2% 0.065 66.2)

  • #00342F

    #00342F

    oklch(29.2% 0.052 184.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #381A52

    #381A52

    oklch(29.1% 0.1 305.8)

  • #521100

    #521100

    oklch(29.1% 0.099 36.1)

  • #233200

    #233200

    oklch(29.3% 0.074 125.7)

  • #00323C

    #00323C

    oklch(29.2% 0.052 215.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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