#381239

Closest named color: Eggplant (#380835). oklch(26.1% 0.083 326.6), rgb(56, 18, 57).

Aa

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

About this color

#381239 is a dark, moderately saturated purple. In OKLCH its lightness is 26%, its chroma 0.083 and its hue 327°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Eggplant (#380835), ΔE 0.020 away. White text reads best on it, at 15.98:1.

Hue familyPurples
Lightnessdark (26%)
Chromamoderately saturated (0.083)
Temperaturein between
Nearest nameEggplant (#380835)
Black text1.31:1
White text15.98:1

Values

HEX#381239
RGBrgb(56, 18, 57)
HSLhsl(298, 52%, 15%)
OKLCHoklch(26.1% 0.083 326.6)

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 #381239 15.98:1 AAA Lc -105.2 Preferred for body text
Black text on #381239 1.31:1 Fails Lc 0.0 Not readable
#381239 text on white 15.98:1 AAA Lc 102.6 Preferred for body text
#381239 text on black 1.31: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

    #FAF3FA

    oklch(97.2% 0.012 325.7)

  2. Step 100

    100

    #F5E4F4

    oklch(93.7% 0.028 327.6)

  3. Step 200

    200

    #EDCDED

    oklch(88.5% 0.055 326)

  4. Step 300

    300

    #E3AAE2

    oklch(80.8% 0.099 327)

  5. Step 400

    400

    #D37AD4

    oklch(70.7% 0.159 326.7)

  6. Step 500

    500

    #C552C8

    oklch(63% 0.202 326.6)

  7. Step 600

    600

    #B02FB5

    oklch(55.6% 0.22 326.4)

  8. Step 700

    700

    #971F9B

    oklch(49% 0.204 326.7)

  9. Step 800

    800

    #7B1E7E

    oklch(42.7% 0.169 326.7)

  10. Step 900

    900

    #632065

    oklch(37.6% 0.131 326.6)

  11. Step 950

    950 (this color)

    #381239

    oklch(26.1% 0.083 326.6)

Export this scale for Tailwind in the Tailwind colors tool

#381239 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)#0D1F3A0.084
Deuteranopia (no green cones)#1A23380.073
Tritanopia (no blue cones)#3A17230.048
Achromatopsia (no color)#2222220.084

Harmonies

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

Complementary

The opposite hue (180°).

  • #381239

    #381239

    oklch(26.1% 0.083 326.6)

  • #002E0A

    #002E0A

    oklch(26.2% 0.078 146.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #381239

    #381239

    oklch(26.1% 0.083 326.6)

  • #291947

    #291947

    oklch(26.2% 0.083 296.3)

  • #410D25

    #410D25

    oklch(26% 0.084 356.4)

Open the analogous palette in the generator

Split complementary

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

  • #381239

    #381239

    oklch(26.1% 0.083 326.6)

  • #232800

    #232800

    oklch(26.3% 0.06 116.7)

  • #002C24

    #002C24

    oklch(26.2% 0.049 177)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #381239

    #381239

    oklch(26.1% 0.083 326.6)

  • #2F2200

    #2F2200

    oklch(26% 0.053 87.4)

  • #002A2F

    #002A2F

    oklch(26% 0.045 206.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #381239

    #381239

    oklch(26.1% 0.083 326.6)

  • #3B1B00

    #3B1B00

    oklch(26.3% 0.064 57)

  • #002E0A

    #002E0A

    oklch(26.2% 0.078 146.8)

  • #00283C

    #00283C

    oklch(26.2% 0.057 236.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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