#38172C

Closest named color: Aubergine (#3D0734). oklch(26.2% 0.061 343.2), rgb(56, 23, 44).

Aa

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

About this color

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

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

Values

HEX#38172C
RGBrgb(56, 23, 44)
HSLhsl(322, 42%, 15%)
OKLCHoklch(26.2% 0.061 343.2)

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 #38172C 15.82:1 AAA Lc -105.2 Preferred for body text
Black text on #38172C 1.32:1 Fails Lc 0.0 Not readable
#38172C text on white 15.82:1 AAA Lc 102.6 Preferred for body text
#38172C 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

    #FAF3F7

    oklch(97.1% 0.009 341.8)

  2. Step 100

    100

    #F5E5ED

    oklch(93.7% 0.02 345.7)

  3. Step 200

    200

    #EDCFE0

    oklch(88.4% 0.04 342.9)

  4. Step 300

    300

    #E3AFCD

    oklch(81% 0.072 343.3)

  5. Step 400

    400

    #D283B3

    oklch(70.7% 0.114 343.2)

  6. Step 500

    500

    #C561A0

    oklch(63.1% 0.147 343.6)

  7. Step 600

    600

    #B0458B

    oklch(55.6% 0.16 343.5)

  8. Step 700

    700

    #973676

    oklch(49.2% 0.149 343.5)

  9. Step 800

    800

    #7A2E60

    oklch(42.7% 0.122 343.2)

  10. Step 900

    900

    #632A4F

    oklch(37.8% 0.096 343)

  11. Step 950

    950 (this color)

    #38172C

    oklch(26.2% 0.061 343.2)

Export this scale for Tailwind in the Tailwind colors tool

#38172C 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)#191F2D0.065
Deuteranopia (no green cones)#22242B0.058
Tritanopia (no blue cones)#3C171F0.026
Achromatopsia (no color)#2222220.062

Harmonies

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

Complementary

The opposite hue (180°).

  • #38172C

    #38172C

    oklch(26.2% 0.061 343.2)

  • #002D1C

    #002D1C

    oklch(26.3% 0.057 162.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #38172C

    #38172C

    oklch(26.2% 0.061 343.2)

  • #2F1B39

    #2F1B39

    oklch(26.3% 0.06 313.6)

  • #3D161C

    #3D161C

    oklch(26.2% 0.061 12.8)

Open the analogous palette in the generator

Split complementary

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

  • #38172C

    #38172C

    oklch(26.2% 0.061 343.2)

  • #182A08

    #182A08

    oklch(26% 0.06 132.9)

  • #002B2A

    #002B2A

    oklch(26.1% 0.045 192.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #38172C

    #38172C

    oklch(26.2% 0.061 343.2)

  • #292500

    #292500

    oklch(26.1% 0.055 103.4)

  • #002936

    #002936

    oklch(26.1% 0.049 224.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #38172C

    #38172C

    oklch(26.2% 0.061 343.2)

  • #341F00

    #341F00

    oklch(26% 0.055 73)

  • #002D1C

    #002D1C

    oklch(26.3% 0.057 162.3)

  • #0C2541

    #0C2541

    oklch(26.1% 0.061 253.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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