#38102D

Closest named color: Aubergine (#3D0734). oklch(25.1% 0.075 339.9), rgb(56, 16, 45).

Aa

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

About this color

#38102D is a dark, moderately saturated purple. In OKLCH its lightness is 25%, its chroma 0.075 and its hue 340°. Its hue sits on the warm side of the wheel. The nearest named color is Aubergine (#3D0734), ΔE 0.024 away. White text reads best on it, at 16.40:1.

Hue familyPurples
Lightnessdark (25%)
Chromamoderately saturated (0.075)
Temperaturewarm
Nearest nameAubergine (#3D0734)
Black text1.28:1
White text16.40:1

Values

HEX#38102D
RGBrgb(56, 16, 45)
HSLhsl(317, 56%, 14%)
OKLCHoklch(25.1% 0.075 339.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 #38102D 16.40:1 AAA Lc -105.5 Preferred for body text
Black text on #38102D 1.28:1 Fails Lc 0.0 Not readable
#38102D text on white 16.40:1 AAA Lc 103.0 Preferred for body text
#38102D 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

    #F7E4EF

    oklch(93.7% 0.025 341.8)

  3. Step 200

    200

    #F1CDE4

    oklch(88.5% 0.05 339.6)

  4. Step 300

    300

    #E8AAD3

    oklch(80.8% 0.09 339.6)

  5. Step 400

    400

    #DA7BBC

    oklch(70.7% 0.142 340.1)

  6. Step 500

    500

    #CE54AC

    oklch(63.2% 0.183 339.9)

  7. Step 600

    600

    #B93397

    oklch(55.7% 0.199 340)

  8. Step 700

    700

    #9F2481

    oklch(49.2% 0.184 339.9)

  9. Step 800

    800

    #812169

    oklch(42.8% 0.152 339.8)

  10. Step 900

    900

    #682255

    oklch(37.7% 0.118 340)

  11. Step 950

    950 (this color)

    #38102D

    oklch(25.1% 0.075 339.9)

Export this scale for Tailwind in the Tailwind colors tool

#38102D 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)#121B2E0.081
Deuteranopia (no green cones)#1E222C0.072
Tritanopia (no blue cones)#3C111C0.035
Achromatopsia (no color)#1F1F1F0.076

Harmonies

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

Complementary

The opposite hue (180°).

  • #38102D

    #38102D

    oklch(25.1% 0.075 339.9)

  • #002A18

    #002A18

    oklch(25.1% 0.057 159.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #38102D

    #38102D

    oklch(25.1% 0.075 339.9)

  • #2D153C

    #2D153C

    oklch(25.1% 0.075 310.5)

  • #3E0E19

    #3E0E19

    oklch(25.1% 0.075 10.7)

Open the analogous palette in the generator

Split complementary

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

  • #38102D

    #38102D

    oklch(25.1% 0.075 339.9)

  • #172800

    #172800

    oklch(25.2% 0.068 129.8)

  • #002826

    #002826

    oklch(25% 0.043 189.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #38102D

    #38102D

    oklch(25.1% 0.075 339.9)

  • #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.

  • #38102D

    #38102D

    oklch(25.1% 0.075 339.9)

  • #321C00

    #321C00

    oklch(25% 0.054 69.4)

  • #002A18

    #002A18

    oklch(25.1% 0.057 159.7)

  • #002342

    #002342

    oklch(25.2% 0.07 249.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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