#38182F

Closest named color: Aubergine (#3D0734). oklch(26.5% 0.061 339), rgb(56, 24, 47).

Aa

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

About this color

#38182F is a dark, muted purple. In OKLCH its lightness is 27%, its chroma 0.061 and its hue 339°. Its hue sits on the warm side of the wheel. The nearest named color is Aubergine (#3D0734), ΔE 0.039 away. White text reads best on it, at 15.67:1.

Hue familyPurples
Lightnessdark (27%)
Chromamuted (0.061)
Temperaturewarm
Nearest nameAubergine (#3D0734)
Black text1.33:1
White text15.67:1

Values

HEX#38182F
RGBrgb(56, 24, 47)
HSLhsl(317, 40%, 16%)
OKLCHoklch(26.5% 0.061 339)

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 #38182F 15.67:1 AAA Lc -105.1 Preferred for body text
Black text on #38182F 1.33:1 Fails Lc 0.0 Not readable
#38182F text on white 15.67:1 AAA Lc 102.4 Preferred for body text
#38182F text on black 1.33: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

    #FAF3F8

    oklch(97.1% 0.01 335.5)

  2. Step 100

    100

    #F4E5EE

    oklch(93.6% 0.02 340.7)

  3. Step 200

    200

    #ECCFE2

    oklch(88.4% 0.041 338.7)

  4. Step 300

    300

    #E1AFD0

    oklch(80.9% 0.072 339.3)

  5. Step 400

    400

    #D083B9

    oklch(70.7% 0.117 338.7)

  6. Step 500

    500

    #C262A7

    oklch(63.2% 0.148 339)

  7. Step 600

    600

    #AD4692

    oklch(55.6% 0.161 339.1)

  8. Step 700

    700

    #94367C

    oklch(49% 0.151 339)

  9. Step 800

    800

    #792E65

    oklch(42.8% 0.125 339.3)

  10. Step 900

    900

    #622A52

    oklch(37.8% 0.097 339.7)

  11. Step 950

    950 (this color)

    #38182F

    oklch(26.5% 0.061 339)

Export this scale for Tailwind in the Tailwind colors tool

#38182F 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)#1920300.064
Deuteranopia (no green cones)#22252E0.057
Tritanopia (no blue cones)#3B19210.028
Achromatopsia (no color)#2323230.062

Harmonies

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

Complementary

The opposite hue (180°).

  • #38182F

    #38182F

    oklch(26.5% 0.061 339)

  • #002E1A

    #002E1A

    oklch(26.5% 0.061 158.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #38182F

    #38182F

    oklch(26.5% 0.061 339)

  • #2E1C3C

    #2E1C3C

    oklch(26.6% 0.062 308.7)

  • #3D171F

    #3D171F

    oklch(26.5% 0.06 9)

Open the analogous palette in the generator

Split complementary

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

  • #38182F

    #38182F

    oklch(26.5% 0.061 339)

  • #1C2B06

    #1C2B06

    oklch(26.6% 0.062 128.9)

  • #002C2A

    #002C2A

    oklch(26.5% 0.046 190.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #38182F

    #38182F

    oklch(26.5% 0.061 339)

  • #2C2500

    #2C2500

    oklch(26.4% 0.055 98.5)

  • #002A35

    #002A35

    oklch(26.4% 0.048 220.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #38182F

    #38182F

    oklch(26.5% 0.061 339)

  • #371F00

    #371F00

    oklch(26.5% 0.058 68.8)

  • #002E1A

    #002E1A

    oklch(26.5% 0.061 158.9)

  • #082742

    #082742

    oklch(26.6% 0.062 248.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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