#38172B

Closest named color: Aubergine (#3D0734). oklch(26.1% 0.06 344.8), rgb(56, 23, 43).

Aa

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

About this color

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

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

Values

HEX#38172B
RGBrgb(56, 23, 43)
HSLhsl(324, 42%, 15%)
OKLCHoklch(26.1% 0.06 344.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 #38172B 15.84:1 AAA Lc -105.2 Preferred for body text
Black text on #38172B 1.32:1 Fails Lc 0.0 Not readable
#38172B text on white 15.84:1 AAA Lc 102.6 Preferred for body text
#38172B 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

    #EDCFDF

    oklch(88.4% 0.039 344.5)

  4. Step 300

    300

    #E3AFCB

    oklch(81% 0.07 345.2)

  5. Step 400

    400

    #D383B1

    oklch(70.7% 0.114 344.9)

  6. Step 500

    500

    #C5619E

    oklch(63.1% 0.146 344.6)

  7. Step 600

    600

    #B04588

    oklch(55.5% 0.158 345)

  8. Step 700

    700

    #973674

    oklch(49.1% 0.147 344.6)

  9. Step 800

    800

    #7B2E5E

    oklch(42.8% 0.121 345.1)

  10. Step 900

    900

    #632A4D

    oklch(37.7% 0.094 344.8)

  11. Step 950

    950 (this color)

    #38172B

    oklch(26.1% 0.06 344.8)

Export this scale for Tailwind in the Tailwind colors tool

#38172B 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)#1A1F2C0.063
Deuteranopia (no green cones)#22242A0.058
Tritanopia (no blue cones)#3C171F0.025
Achromatopsia (no color)#2222220.061

Harmonies

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

Complementary

The opposite hue (180°).

  • #38172B

    #38172B

    oklch(26.1% 0.06 344.8)

  • #002C1D

    #002C1D

    oklch(26% 0.055 164.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #38172B

    #38172B

    oklch(26.1% 0.06 344.8)

  • #2F1A38

    #2F1A38

    oklch(26% 0.061 315.1)

  • #3C161B

    #3C161B

    oklch(26% 0.06 14.1)

Open the analogous palette in the generator

Split complementary

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

  • #38172B

    #38172B

    oklch(26.1% 0.06 344.8)

  • #172A0A

    #172A0A

    oklch(26% 0.059 134.6)

  • #002B2B

    #002B2B

    oklch(26.2% 0.045 194.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #38172B

    #38172B

    oklch(26.1% 0.06 344.8)

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

  • #38172B

    #38172B

    oklch(26.1% 0.06 344.8)

  • #342000

    #342000

    oklch(26.3% 0.055 75.1)

  • #002C1D

    #002C1D

    oklch(26% 0.055 164.7)

  • #0E2541

    #0E2541

    oklch(26.2% 0.06 254.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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