#38185A

Closest named color: Deep Violet (#490648). oklch(29.5% 0.113 302.1), rgb(56, 24, 90).

Aa

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

About this color

#38185A is a dark, moderately saturated purple. In OKLCH its lightness is 29%, its chroma 0.113 and its hue 302°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Violet (#490648), ΔE 0.056 away. White text reads best on it, at 14.51:1.

Hue familyPurples
Lightnessdark (29%)
Chromamoderately saturated (0.113)
Temperaturein between
Nearest nameDeep Violet (#490648)
Black text1.44:1
White text14.51:1

Values

HEX#38185A
RGBrgb(56, 24, 90)
HSLhsl(269, 58%, 22%)
OKLCHoklch(29.5% 0.113 302.1)

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 #38185A 14.51:1 AAA Lc -103.8 Preferred for body text
Black text on #38185A 1.44:1 Fails Lc 0.0 Not readable
#38185A text on white 14.51:1 AAA Lc 100.9 Preferred for body text
#38185A text on black 1.44: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

    #F7F3FF

    oklch(97.1% 0.016 301.2)

  2. Step 100

    100

    #EEE5FF

    oklch(93.7% 0.036 301.4)

  3. Step 200

    200

    #E1CFFF

    oklch(88.5% 0.068 302.1)

  4. Step 300

    300

    #CEAFFF

    oklch(80.9% 0.115 301.7)

  5. Step 400

    400

    #B77FFF

    oklch(70.7% 0.186 302.1)

  6. Step 500

    500

    #A755FF

    oklch(63.1% 0.241 302)

  7. Step 600

    600

    #9800FC

    oklch(55.6% 0.293 302.2)

  8. Step 700

    700

    #8000D6

    oklch(49.1% 0.259 302.1)

  9. Step 800

    800

    #6900B1

    oklch(42.6% 0.225 302.1)

  10. Step 900

    900

    #55158D

    oklch(37.6% 0.178 302)

  11. Step 950

    950 (this color)

    #38185A

    oklch(29.5% 0.113 302.1)

Export this scale for Tailwind in the Tailwind colors tool

#38185A 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)#00295C0.084
Deuteranopia (no green cones)#0029590.084
Tritanopia (no blue cones)#3127370.082
Achromatopsia (no color)#2929290.114

Harmonies

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

Complementary

The opposite hue (180°).

  • #38185A

    #38185A

    oklch(29.5% 0.113 302.1)

  • #273200

    #273200

    oklch(29.6% 0.072 122)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #38185A

    #38185A

    oklch(29.5% 0.113 302.1)

  • #1B2364

    #1B2364

    oklch(29.5% 0.114 272)

  • #4A0E45

    #4A0E45

    oklch(29.5% 0.113 331.7)

Open the analogous palette in the generator

Split complementary

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

  • #38185A

    #38185A

    oklch(29.5% 0.113 302.1)

  • #372B00

    #372B00

    oklch(29.4% 0.06 92.3)

  • #003718

    #003718

    oklch(29.5% 0.077 152.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #38185A

    #38185A

    oklch(29.5% 0.113 302.1)

  • #442300

    #442300

    oklch(29.4% 0.068 61.5)

  • #00352F

    #00352F

    oklch(29.5% 0.053 182.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #38185A

    #38185A

    oklch(29.5% 0.113 302.1)

  • #570900

    #570900

    oklch(29.4% 0.111 32.2)

  • #273200

    #273200

    oklch(29.6% 0.072 122)

  • #00333B

    #00333B

    oklch(29.5% 0.051 211.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #38185A 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.