#38162F

Closest named color: Aubergine (#3D0734). oklch(26.1% 0.066 338.5), rgb(56, 22, 47).

Aa

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

About this color

#38162F is a dark, muted purple. In OKLCH its lightness is 26%, its chroma 0.066 and its hue 338°. Its hue sits on the warm side of the wheel. The nearest named color is Aubergine (#3D0734), ΔE 0.034 away. White text reads best on it, at 15.86:1.

Hue familyPurples
Lightnessdark (26%)
Chromamuted (0.066)
Temperaturewarm
Nearest nameAubergine (#3D0734)
Black text1.32:1
White text15.86:1

Values

HEX#38162F
RGBrgb(56, 22, 47)
HSLhsl(316, 44%, 15%)
OKLCHoklch(26.1% 0.066 338.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 #38162F 15.86:1 AAA Lc -105.2 Preferred for body text
Black text on #38162F 1.32:1 Fails Lc 0.0 Not readable
#38162F text on white 15.86:1 AAA Lc 102.6 Preferred for body text
#38162F text on black 1.32: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

    #F5E4EF

    oklch(93.6% 0.023 338.6)

  3. Step 200

    200

    #EDCFE3

    oklch(88.5% 0.043 338.2)

  4. Step 300

    300

    #E3AED2

    oklch(81% 0.077 338.5)

  5. Step 400

    400

    #D381BB

    oklch(70.8% 0.125 338.6)

  6. Step 500

    500

    #C55EAA

    oklch(63.1% 0.159 338.4)

  7. Step 600

    600

    #B04195

    oklch(55.6% 0.173 338.5)

  8. Step 700

    700

    #97327F

    oklch(49.1% 0.161 338.5)

  9. Step 800

    800

    #7B2B67

    oklch(42.8% 0.133 338.8)

  10. Step 900

    900

    #632854

    oklch(37.7% 0.103 338.4)

  11. Step 950

    950 (this color)

    #38162F

    oklch(26.1% 0.066 338.5)

Export this scale for Tailwind in the Tailwind colors tool

#38162F 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)#171F300.069
Deuteranopia (no green cones)#21242E0.061
Tritanopia (no blue cones)#3B17200.030
Achromatopsia (no color)#2222220.066

Harmonies

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

Complementary

The opposite hue (180°).

  • #38162F

    #38162F

    oklch(26.1% 0.066 338.5)

  • #002D19

    #002D19

    oklch(26.2% 0.061 158.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #38162F

    #38162F

    oklch(26.1% 0.066 338.5)

  • #2D1A3C

    #2D1A3C

    oklch(26% 0.065 308.3)

  • #3E141E

    #3E141E

    oklch(26.1% 0.066 8.2)

Open the analogous palette in the generator

Split complementary

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

  • #38162F

    #38162F

    oklch(26.1% 0.066 338.5)

  • #1B2A02

    #1B2A02

    oklch(26.2% 0.065 128.1)

  • #002B29

    #002B29

    oklch(26.1% 0.045 190)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #38162F

    #38162F

    oklch(26.1% 0.066 338.5)

  • #2B2400

    #2B2400

    oklch(26% 0.054 98.3)

  • #002A34

    #002A34

    oklch(26.3% 0.047 218.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #38162F

    #38162F

    oklch(26.1% 0.066 338.5)

  • #361E00

    #361E00

    oklch(26.1% 0.057 68.1)

  • #002D19

    #002D19

    oklch(26.2% 0.061 158.5)

  • #042642

    #042642

    oklch(26.2% 0.065 248.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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