#38102F

Closest named color: Eggplant (#380835). oklch(25.2% 0.077 337.5), rgb(56, 16, 47).

Aa

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

About this color

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

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

Values

HEX#38102F
RGBrgb(56, 16, 47)
HSLhsl(313, 56%, 14%)
OKLCHoklch(25.2% 0.077 337.5)

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 #38102F 16.36:1 AAA Lc -105.5 Preferred for body text
Black text on #38102F 1.28:1 Fails Lc 0.0 Not readable
#38102F text on white 16.36:1 AAA Lc 102.9 Preferred for body text
#38102F 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

    #F6E3F0

    oklch(93.5% 0.027 337.1)

  3. Step 200

    200

    #F0CDE5

    oklch(88.5% 0.05 337.5)

  4. Step 300

    300

    #E8AAD6

    oklch(80.9% 0.092 337.4)

  5. Step 400

    400

    #D97AC1

    oklch(70.6% 0.146 337.2)

  6. Step 500

    500

    #CD53B1

    oklch(63.1% 0.188 337.5)

  7. Step 600

    600

    #B8329C

    oklch(55.7% 0.202 337.7)

  8. Step 700

    700

    #9E2286

    oklch(49.1% 0.189 337.4)

  9. Step 800

    800

    #801F6D

    oklch(42.6% 0.157 337.1)

  10. Step 900

    900

    #682158

    oklch(37.8% 0.122 337.8)

  11. Step 950

    950 (this color)

    #38102F

    oklch(25.2% 0.077 337.5)

Export this scale for Tailwind in the Tailwind colors tool

#38102F 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)#111C300.082
Deuteranopia (no green cones)#1D222E0.073
Tritanopia (no blue cones)#3B121D0.037
Achromatopsia (no color)#2020200.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #38102F

    #38102F

    oklch(25.2% 0.077 337.5)

  • #002A16

    #002A16

    oklch(25.1% 0.059 157.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #38102F

    #38102F

    oklch(25.2% 0.077 337.5)

  • #2C153E

    #2C153E

    oklch(25.1% 0.078 307.6)

  • #3F0D1B

    #3F0D1B

    oklch(25.2% 0.078 7.9)

Open the analogous palette in the generator

Split complementary

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

  • #38102F

    #38102F

    oklch(25.2% 0.077 337.5)

  • #192700

    #192700

    oklch(25% 0.065 127.3)

  • #002926

    #002926

    oklch(25.3% 0.044 187.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #38102F

    #38102F

    oklch(25.2% 0.077 337.5)

  • #292200

    #292200

    oklch(25.2% 0.052 97.8)

  • #002730

    #002730

    oklch(25.2% 0.045 217.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #38102F

    #38102F

    oklch(25.2% 0.077 337.5)

  • #331C00

    #331C00

    oklch(25.2% 0.055 68)

  • #002A16

    #002A16

    oklch(25.1% 0.059 157.3)

  • #002440

    #002440

    oklch(25.3% 0.066 246.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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