#381234

Closest named color: Eggplant (#380835). oklch(25.8% 0.078 331.9), rgb(56, 18, 52).

Aa

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

About this color

#381234 is a dark, moderately saturated purple. In OKLCH its lightness is 26%, its chroma 0.078 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.021 away. White text reads best on it, at 16.10:1.

Hue familyPurples
Lightnessdark (26%)
Chromamoderately saturated (0.078)
Temperaturein between
Nearest nameEggplant (#380835)
Black text1.30:1
White text16.10:1

Values

HEX#381234
RGBrgb(56, 18, 52)
HSLhsl(306, 51%, 15%)
OKLCHoklch(25.8% 0.078 331.9)

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 #381234 16.10:1 AAA Lc -105.3 Preferred for body text
Black text on #381234 1.30:1 Fails Lc 0.0 Not readable
#381234 text on white 16.10:1 AAA Lc 102.7 Preferred for body text
#381234 text on black 1.30: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

    #FBF3F9

    oklch(97.2% 0.012 334.1)

  2. Step 100

    100

    #F5E4F2

    oklch(93.6% 0.026 331.5)

  3. Step 200

    200

    #EECDE9

    oklch(88.4% 0.052 331)

  4. Step 300

    300

    #E4ABDC

    oklch(80.9% 0.092 331.3)

  5. Step 400

    400

    #D57BCA

    oklch(70.7% 0.149 331.6)

  6. Step 500

    500

    #C855BC

    oklch(63.2% 0.19 331.8)

  7. Step 600

    600

    #B334A8

    oklch(55.7% 0.206 331.7)

  8. Step 700

    700

    #9A2490

    oklch(49.2% 0.192 331.9)

  9. Step 800

    800

    #7D2175

    oklch(42.8% 0.159 331.8)

  10. Step 900

    900

    #65225E

    oklch(37.7% 0.123 332.1)

  11. Step 950

    950 (this color)

    #381234

    oklch(25.8% 0.078 331.9)

Export this scale for Tailwind in the Tailwind colors tool

#381234 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)#101E350.081
Deuteranopia (no green cones)#1C23330.071
Tritanopia (no blue cones)#3B15200.042
Achromatopsia (no color)#2121210.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #381234

    #381234

    oklch(25.8% 0.078 331.9)

  • #002C12

    #002C12

    oklch(25.7% 0.067 152.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #381234

    #381234

    oklch(25.8% 0.078 331.9)

  • #2B1842

    #2B1842

    oklch(25.8% 0.077 302.1)

  • #400F21

    #400F21

    oklch(25.9% 0.078 1.7)

Open the analogous palette in the generator

Split complementary

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

  • #381234

    #381234

    oklch(25.8% 0.078 331.9)

  • #1F2800

    #1F2800

    oklch(25.9% 0.063 121.7)

  • #002B25

    #002B25

    oklch(25.9% 0.047 180.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #381234

    #381234

    oklch(25.8% 0.078 331.9)

  • #2D2200

    #2D2200

    oklch(25.8% 0.053 90.8)

  • #002930

    #002930

    oklch(25.8% 0.045 211.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #381234

    #381234

    oklch(25.8% 0.078 331.9)

  • #371C00

    #371C00

    oklch(25.8% 0.059 63)

  • #002C12

    #002C12

    oklch(25.7% 0.067 152.3)

  • #00263E

    #00263E

    oklch(25.7% 0.061 242)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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