#38162C

Closest named color: Aubergine (#3D0734). oklch(26% 0.063 342.8), rgb(56, 22, 44).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (26%)
Chromamuted (0.063)
Temperaturewarm
Nearest nameAubergine (#3D0734)
Black text1.31:1
White text15.91:1

Values

HEX#38162C
RGBrgb(56, 22, 44)
HSLhsl(321, 44%, 15%)
OKLCHoklch(26% 0.063 342.8)

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 #38162C 15.91:1 AAA Lc -105.3 Preferred for body text
Black text on #38162C 1.31:1 Fails Lc 0.0 Not readable
#38162C text on white 15.91:1 AAA Lc 102.6 Preferred for body text
#38162C text on black 1.31: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

    #FBF3F7

    oklch(97.1% 0.01 345.4)

  2. Step 100

    100

    #F5E4EE

    oklch(93.5% 0.023 341.3)

  3. Step 200

    200

    #EECFE0

    oklch(88.5% 0.041 343.8)

  4. Step 300

    300

    #E4AECD

    oklch(80.9% 0.075 343.5)

  5. Step 400

    400

    #D482B4

    oklch(70.8% 0.118 343.2)

  6. Step 500

    500

    #C65FA2

    oklch(63.1% 0.153 342.7)

  7. Step 600

    600

    #B1438D

    oklch(55.6% 0.165 342.7)

  8. Step 700

    700

    #983477

    oklch(49.1% 0.153 343.2)

  9. Step 800

    800

    #7B2C61

    oklch(42.6% 0.127 342.8)

  10. Step 900

    900

    #64294F

    oklch(37.8% 0.098 343.4)

  11. Step 950

    950 (this color)

    #38162C

    oklch(26% 0.063 342.8)

Export this scale for Tailwind in the Tailwind colors tool

#38162C 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)#181E2D0.067
Deuteranopia (no green cones)#22242B0.060
Tritanopia (no blue cones)#3C161F0.026
Achromatopsia (no color)#2222220.063

Harmonies

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

Complementary

The opposite hue (180°).

  • #38162C

    #38162C

    oklch(26% 0.063 342.8)

  • #002C1C

    #002C1C

    oklch(25.9% 0.056 163.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #38162C

    #38162C

    oklch(26% 0.063 342.8)

  • #2E1A39

    #2E1A39

    oklch(26% 0.061 312.5)

  • #3D151B

    #3D151B

    oklch(26% 0.063 13.4)

Open the analogous palette in the generator

Split complementary

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

  • #38162C

    #38162C

    oklch(26% 0.063 342.8)

  • #172A06

    #172A06

    oklch(25.9% 0.063 133)

  • #002B2A

    #002B2A

    oklch(26.1% 0.045 192.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #38162C

    #38162C

    oklch(26% 0.063 342.8)

  • #292500

    #292500

    oklch(26.1% 0.055 103.4)

  • #002935

    #002935

    oklch(26.1% 0.048 222.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #38162C

    #38162C

    oklch(26% 0.063 342.8)

  • #341F00

    #341F00

    oklch(26% 0.055 73)

  • #002C1C

    #002C1C

    oklch(25.9% 0.056 163.3)

  • #0A2541

    #0A2541

    oklch(26.1% 0.062 252.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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