#38122C

Closest named color: Aubergine (#3D0734). oklch(25.3% 0.071 341.6), rgb(56, 18, 44).

Aa

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

About this color

#38122C is a dark, moderately saturated purple. In OKLCH its lightness is 25%, its chroma 0.071 and its hue 342°. Its hue sits on the warm side of the wheel. The nearest named color is Aubergine (#3D0734), ΔE 0.029 away. White text reads best on it, at 16.26:1.

Hue familyPurples
Lightnessdark (25%)
Chromamoderately saturated (0.071)
Temperaturewarm
Nearest nameAubergine (#3D0734)
Black text1.29:1
White text16.26:1

Values

HEX#38122C
RGBrgb(56, 18, 44)
HSLhsl(319, 51%, 15%)
OKLCHoklch(25.3% 0.071 341.6)

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 #38122C 16.26:1 AAA Lc -105.5 Preferred for body text
Black text on #38122C 1.29:1 Fails Lc 0.0 Not readable
#38122C text on white 16.26:1 AAA Lc 102.9 Preferred for body text
#38122C text on black 1.29: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

    #FBF3F8

    oklch(97.2% 0.011 339.3)

  2. Step 100

    100

    #F6E4EE

    oklch(93.6% 0.024 342.9)

  3. Step 200

    200

    #F0CEE2

    oklch(88.6% 0.046 341.9)

  4. Step 300

    300

    #E7ACD0

    oklch(81% 0.083 341.9)

  5. Step 400

    400

    #D87DB8

    oklch(70.6% 0.134 341.7)

  6. Step 500

    500

    #CB58A7

    oklch(63% 0.171 341.3)

  7. Step 600

    600

    #B73992

    oklch(55.7% 0.187 341.7)

  8. Step 700

    700

    #9D2A7C

    oklch(49.1% 0.173 341.8)

  9. Step 800

    800

    #7F2565

    oklch(42.7% 0.143 341.4)

  10. Step 900

    900

    #672452

    oklch(37.7% 0.112 341.9)

  11. Step 950

    950 (this color)

    #38122C

    oklch(25.3% 0.071 341.6)

Export this scale for Tailwind in the Tailwind colors tool

#38122C 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)#141C2D0.076
Deuteranopia (no green cones)#1F222B0.067
Tritanopia (no blue cones)#3C121D0.030
Achromatopsia (no color)#2020200.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #38122C

    #38122C

    oklch(25.3% 0.071 341.6)

  • #002A1A

    #002A1A

    oklch(25.2% 0.055 162.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #38122C

    #38122C

    oklch(25.3% 0.071 341.6)

  • #2D163B

    #2D163B

    oklch(25.2% 0.072 311)

  • #3D1019

    #3D1019

    oklch(25.2% 0.071 11.8)

Open the analogous palette in the generator

Split complementary

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

  • #38122C

    #38122C

    oklch(25.3% 0.071 341.6)

  • #152900

    #152900

    oklch(25.4% 0.07 132)

  • #002928

    #002928

    oklch(25.4% 0.044 192.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #38122C

    #38122C

    oklch(25.3% 0.071 341.6)

  • #282300

    #282300

    oklch(25.4% 0.053 101.4)

  • #002732

    #002732

    oklch(25.3% 0.046 221.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #38122C

    #38122C

    oklch(25.3% 0.071 341.6)

  • #321D00

    #321D00

    oklch(25.2% 0.054 71.6)

  • #002A1A

    #002A1A

    oklch(25.2% 0.055 162.5)

  • #022343

    #022343

    oklch(25.3% 0.071 251.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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