#38102E

Closest named color: Eggplant (#380835). oklch(25.1% 0.076 338.7), rgb(56, 16, 46).

Aa

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

About this color

#38102E is a dark, moderately saturated purple. In OKLCH its lightness is 25%, its chroma 0.076 and its hue 339°. Its hue sits on the warm side of the wheel. The nearest named color is Eggplant (#380835), ΔE 0.023 away. White text reads best on it, at 16.38:1.

Hue familyPurples
Lightnessdark (25%)
Chromamoderately saturated (0.076)
Temperaturewarm
Nearest nameEggplant (#380835)
Black text1.28:1
White text16.38:1

Values

HEX#38102E
RGBrgb(56, 16, 46)
HSLhsl(315, 56%, 14%)
OKLCHoklch(25.1% 0.076 338.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 #38102E 16.38:1 AAA Lc -105.5 Preferred for body text
Black text on #38102E 1.28:1 Fails Lc 0.0 Not readable
#38102E text on white 16.38:1 AAA Lc 103.0 Preferred for body text
#38102E text on black 1.28: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

    #FBF2F8

    oklch(97% 0.012 337.5)

  2. Step 100

    100

    #F6E4F0

    oklch(93.7% 0.025 337.8)

  3. Step 200

    200

    #F0CDE4

    oklch(88.5% 0.049 338.8)

  4. Step 300

    300

    #E8AAD4

    oklch(80.9% 0.09 338.9)

  5. Step 400

    400

    #DA7ABF

    oklch(70.7% 0.146 338.5)

  6. Step 500

    500

    #CD54AE

    oklch(63.1% 0.184 338.8)

  7. Step 600

    600

    #B8329A

    oklch(55.6% 0.201 338.5)

  8. Step 700

    700

    #9E2383

    oklch(49.1% 0.186 338.7)

  9. Step 800

    800

    #81206B

    oklch(42.8% 0.155 338.7)

  10. Step 900

    900

    #682157

    oklch(37.7% 0.121 338.5)

  11. Step 950

    950 (this color)

    #38102E

    oklch(25.1% 0.076 338.7)

Export this scale for Tailwind in the Tailwind colors tool

#38102E 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)#121C2F0.081
Deuteranopia (no green cones)#1E222D0.072
Tritanopia (no blue cones)#3B111D0.035
Achromatopsia (no color)#2020200.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #38102E

    #38102E

    oklch(25.1% 0.076 338.7)

  • #002A17

    #002A17

    oklch(25.1% 0.058 158.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #38102E

    #38102E

    oklch(25.1% 0.076 338.7)

  • #2C153D

    #2C153D

    oklch(25% 0.076 308.4)

  • #3E0E1A

    #3E0E1A

    oklch(25.1% 0.075 9.4)

Open the analogous palette in the generator

Split complementary

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

  • #38102E

    #38102E

    oklch(25.1% 0.076 338.7)

  • #182800

    #182800

    oklch(25.3% 0.067 128.9)

  • #002926

    #002926

    oklch(25.3% 0.044 187.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #38102E

    #38102E

    oklch(25.1% 0.076 338.7)

  • #282200

    #282200

    oklch(25.1% 0.052 99.5)

  • #002731

    #002731

    oklch(25.2% 0.046 219.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #38102E

    #38102E

    oklch(25.1% 0.076 338.7)

  • #331C00

    #331C00

    oklch(25.2% 0.055 68)

  • #002A17

    #002A17

    oklch(25.1% 0.058 158.5)

  • #002341

    #002341

    oklch(25.1% 0.069 248.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #38102E 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.