#381A3D

Closest named color: Eggplant (#380835). oklch(27.6% 0.073 321.7), rgb(56, 26, 61).

Aa

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

About this color

#381A3D is a dark, moderately saturated purple. In OKLCH its lightness is 28%, its chroma 0.073 and its hue 322°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Eggplant (#380835), ΔE 0.040 away. White text reads best on it, at 15.18:1.

Hue familyPurples
Lightnessdark (28%)
Chromamoderately saturated (0.073)
Temperaturein between
Nearest nameEggplant (#380835)
Black text1.38:1
White text15.18:1

Values

HEX#381A3D
RGBrgb(56, 26, 61)
HSLhsl(291, 40%, 17%)
OKLCHoklch(27.6% 0.073 321.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 #381A3D 15.18:1 AAA Lc -104.7 Preferred for body text
Black text on #381A3D 1.38:1 Fails Lc 0.0 Not readable
#381A3D text on white 15.18:1 AAA Lc 101.9 Preferred for body text
#381A3D text on black 1.38: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

    #F9F3FA

    oklch(97.1% 0.011 321.3)

  2. Step 100

    100

    #F2E5F4

    oklch(93.7% 0.024 321.7)

  3. Step 200

    200

    #E9CFEC

    oklch(88.5% 0.048 322.7)

  4. Step 300

    300

    #DBAFE2

    oklch(81% 0.085 321.7)

  5. Step 400

    400

    #C882D4

    oklch(70.7% 0.138 321.6)

  6. Step 500

    500

    #B95FC8

    oklch(63.1% 0.176 321.7)

  7. Step 600

    600

    #A441B4

    oklch(55.5% 0.192 321.9)

  8. Step 700

    700

    #8C329B

    oklch(49% 0.178 321.6)

  9. Step 800

    800

    #722B7E

    oklch(42.7% 0.147 321.6)

  10. Step 900

    900

    #5C2865

    oklch(37.6% 0.115 321.5)

  11. Step 950

    950 (this color)

    #381A3D

    oklch(27.6% 0.073 321.7)

Export this scale for Tailwind in the Tailwind colors tool

#381A3D 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)#15243E0.068
Deuteranopia (no green cones)#1E273C0.060
Tritanopia (no blue cones)#391F280.046
Achromatopsia (no color)#2626260.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #381A3D

    #381A3D

    oklch(27.6% 0.073 321.7)

  • #0F300C

    #0F300C

    oklch(27.5% 0.072 142)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #381A3D

    #381A3D

    oklch(27.6% 0.073 321.7)

  • #292048

    #292048

    oklch(27.7% 0.072 291.3)

  • #41162C

    #41162C

    oklch(27.5% 0.073 351.1)

Open the analogous palette in the generator

Split complementary

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

  • #381A3D

    #381A3D

    oklch(27.6% 0.073 321.7)

  • #292B00

    #292B00

    oklch(27.8% 0.062 112.5)

  • #003025

    #003025

    oklch(27.6% 0.053 172.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #381A3D

    #381A3D

    oklch(27.6% 0.073 321.7)

  • #362500

    #362500

    oklch(27.8% 0.057 82.4)

  • #002F32

    #002F32

    oklch(27.8% 0.047 201.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #381A3D

    #381A3D

    oklch(27.6% 0.073 321.7)

  • #421B00

    #421B00

    oklch(27.5% 0.071 51.3)

  • #0F300C

    #0F300C

    oklch(27.5% 0.072 142)

  • #002C3F

    #002C3F

    oklch(27.6% 0.057 232.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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