#381034

Closest named color: Eggplant (#380835). oklch(25.5% 0.082 331.8), rgb(56, 16, 52).

Aa

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

About this color

#381034 is a dark, moderately saturated purple. In OKLCH its lightness is 25%, its chroma 0.082 and its hue 332°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Eggplant (#380835), ΔE 0.016 away. White text reads best on it, at 16.25:1.

Hue familyPurples
Lightnessdark (25%)
Chromamoderately saturated (0.082)
Temperaturein between
Nearest nameEggplant (#380835)
Black text1.29:1
White text16.25:1

Values

HEX#381034
RGBrgb(56, 16, 52)
HSLhsl(306, 56%, 14%)
OKLCHoklch(25.5% 0.082 331.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 #381034 16.25:1 AAA Lc -105.4 Preferred for body text
Black text on #381034 1.29:1 Fails Lc 0.0 Not readable
#381034 text on white 16.25:1 AAA Lc 102.8 Preferred for body text
#381034 text on black 1.29: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

    #FBF2F9

    oklch(97% 0.013 333)

  2. Step 100

    100

    #F6E3F2

    oklch(93.5% 0.029 332.8)

  3. Step 200

    200

    #EFCDE9

    oklch(88.5% 0.053 332)

  4. Step 300

    300

    #E6AADD

    oklch(81% 0.097 331.7)

  5. Step 400

    400

    #D779CB

    oklch(70.7% 0.155 331.9)

  6. Step 500

    500

    #CA51BE

    oklch(63.1% 0.198 331.7)

  7. Step 600

    600

    #B52EAA

    oklch(55.6% 0.215 331.7)

  8. Step 700

    700

    #9C1E92

    oklch(49.2% 0.2 331.8)

  9. Step 800

    800

    #7E1D76

    oklch(42.6% 0.165 331.7)

  10. Step 900

    900

    #661F5F

    oklch(37.6% 0.129 332)

  11. Step 950

    950 (this color)

    #381034

    oklch(25.5% 0.082 331.8)

Export this scale for Tailwind in the Tailwind colors tool

#381034 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)#0E1D350.086
Deuteranopia (no green cones)#1B22330.074
Tritanopia (no blue cones)#3B14200.043
Achromatopsia (no color)#2020200.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #381034

    #381034

    oklch(25.5% 0.082 331.8)

  • #002C11

    #002C11

    oklch(25.7% 0.068 151.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #381034

    #381034

    oklch(25.5% 0.082 331.8)

  • #2A1643

    #2A1643

    oklch(25.4% 0.082 301.2)

  • #400C20

    #400C20

    oklch(25.5% 0.082 1.6)

Open the analogous palette in the generator

Split complementary

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

  • #381034

    #381034

    oklch(25.5% 0.082 331.8)

  • #1E2700

    #1E2700

    oklch(25.5% 0.062 121.9)

  • #002A24

    #002A24

    oklch(25.5% 0.046 180.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #381034

    #381034

    oklch(25.5% 0.082 331.8)

  • #2C2200

    #2C2200

    oklch(25.6% 0.052 92.5)

  • #00282F

    #00282F

    oklch(25.4% 0.044 212.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #381034

    #381034

    oklch(25.5% 0.082 331.8)

  • #361B00

    #361B00

    oklch(25.4% 0.058 62.2)

  • #002C11

    #002C11

    oklch(25.7% 0.068 151.5)

  • #00253D

    #00253D

    oklch(25.4% 0.061 242.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #381034 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.