#381E4F

Closest named color: Deep Violet (#490648). oklch(29.6% 0.089 306.2), rgb(56, 30, 79).

Aa

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

About this color

#381E4F is a dark, moderately saturated purple. In OKLCH its lightness is 30%, its chroma 0.089 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.054 away. White text reads best on it, at 14.31:1.

Hue familyPurples
Lightnessdark (30%)
Chromamoderately saturated (0.089)
Temperaturein between
Nearest nameDeep Violet (#490648)
Black text1.46:1
White text14.31:1

Values

HEX#381E4F
RGBrgb(56, 30, 79)
HSLhsl(272, 45%, 21%)
OKLCHoklch(29.6% 0.089 306.2)

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 #381E4F 14.31:1 AAA Lc -103.8 Preferred for body text
Black text on #381E4F 1.46:1 Fails Lc 0.0 Not readable
#381E4F text on white 14.31:1 AAA Lc 100.8 Preferred for body text
#381E4F text on black 1.46: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

    #F8F3FD

    oklch(97.1% 0.014 308.3)

  2. Step 100

    100

    #EFE5FA

    oklch(93.6% 0.03 307.1)

  3. Step 200

    200

    #E3D0F8

    oklch(88.6% 0.058 306.7)

  4. Step 300

    300

    #D2AFF7

    oklch(81% 0.106 306.4)

  5. Step 400

    400

    #BB81F2

    oklch(70.7% 0.168 306.3)

  6. Step 500

    500

    #AB5BED

    oklch(63.1% 0.215 306.4)

  7. Step 600

    600

    #9639DC

    oklch(55.6% 0.234 306)

  8. Step 700

    700

    #8029BE

    oklch(49% 0.217 306.2)

  9. Step 800

    800

    #68259A

    oklch(42.7% 0.18 306.1)

  10. Step 900

    900

    #55257B

    oklch(37.7% 0.141 306.4)

  11. Step 950

    950 (this color)

    #381E4F

    oklch(29.6% 0.089 306.2)

Export this scale for Tailwind in the Tailwind colors tool

#381E4F 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)#0C29510.071
Deuteranopia (no green cones)#162A4E0.064
Tritanopia (no blue cones)#3427330.064
Achromatopsia (no color)#2A2A2A0.089

Harmonies

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

Complementary

The opposite hue (180°).

  • #381E4F

    #381E4F

    oklch(29.6% 0.089 306.2)

  • #233300

    #233300

    oklch(29.6% 0.076 126.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #381E4F

    #381E4F

    oklch(29.6% 0.089 306.2)

  • #222658

    #222658

    oklch(29.6% 0.089 276.1)

  • #47183D

    #47183D

    oklch(29.7% 0.088 336.7)

Open the analogous palette in the generator

Split complementary

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

  • #381E4F

    #381E4F

    oklch(29.6% 0.089 306.2)

  • #362C00

    #362C00

    oklch(29.5% 0.061 95.5)

  • #00371D

    #00371D

    oklch(29.6% 0.072 156.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #381E4F

    #381E4F

    oklch(29.6% 0.089 306.2)

  • #422500

    #422500

    oklch(29.6% 0.065 66.8)

  • #003531

    #003531

    oklch(29.6% 0.052 186.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #381E4F

    #381E4F

    oklch(29.6% 0.089 306.2)

  • #501707

    #501707

    oklch(29.6% 0.089 36.1)

  • #233300

    #233300

    oklch(29.6% 0.076 126.3)

  • #00333D

    #00333D

    oklch(29.6% 0.052 215.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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