#38184F

Closest named color: Eggplant Purple (#430541). oklch(28.6% 0.099 308.1), rgb(56, 24, 79).

Aa

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

About this color

#38184F is a dark, moderately saturated purple. In OKLCH its lightness is 29%, its chroma 0.099 and its hue 308°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Eggplant Purple (#430541), ΔE 0.046 away. White text reads best on it, at 14.87:1.

Hue familyPurples
Lightnessdark (29%)
Chromamoderately saturated (0.099)
Temperaturein between
Nearest nameEggplant Purple (#430541)
Black text1.41:1
White text14.87:1

Values

HEX#38184F
RGBrgb(56, 24, 79)
HSLhsl(275, 53%, 20%)
OKLCHoklch(28.6% 0.099 308.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 #38184F 14.87:1 AAA Lc -104.3 Preferred for body text
Black text on #38184F 1.41:1 Fails Lc 0.0 Not readable
#38184F text on white 14.87:1 AAA Lc 101.4 Preferred for body text
#38184F text on black 1.41: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

    #F8F3FE

    oklch(97.1% 0.015 306.4)

  2. Step 100

    100

    #F0E4FC

    oklch(93.5% 0.034 308.1)

  3. Step 200

    200

    #E5CEFB

    oklch(88.5% 0.066 308.1)

  4. Step 300

    300

    #D6ACFB

    oklch(80.9% 0.117 308.3)

  5. Step 400

    400

    #C17BF9

    oklch(70.7% 0.188 308)

  6. Step 500

    500

    #B250F5

    oklch(63.1% 0.239 308.2)

  7. Step 600

    600

    #9E25E4

    oklch(55.6% 0.261 308.2)

  8. Step 700

    700

    #8710C6

    oklch(49.1% 0.242 308.1)

  9. Step 800

    800

    #6E16A0

    oklch(42.7% 0.201 308.3)

  10. Step 900

    900

    #591E7F

    oklch(37.8% 0.156 308.3)

  11. Step 950

    950 (this color)

    #38184F

    oklch(28.6% 0.099 308.1)

Export this scale for Tailwind in the Tailwind colors tool

#38184F 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)#0026510.086
Deuteranopia (no green cones)#0E284E0.077
Tritanopia (no blue cones)#3523310.069
Achromatopsia (no color)#2727270.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #38184F

    #38184F

    oklch(28.6% 0.099 308.1)

  • #1F3100

    #1F3100

    oklch(28.7% 0.075 128.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #38184F

    #38184F

    oklch(28.6% 0.099 308.1)

  • #21215A

    #21215A

    oklch(28.6% 0.1 278)

  • #47103B

    #47103B

    oklch(28.6% 0.099 337.9)

Open the analogous palette in the generator

Split complementary

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

  • #38184F

    #38184F

    oklch(28.6% 0.099 308.1)

  • #322A00

    #322A00

    oklch(28.5% 0.059 98)

  • #00341D

    #00341D

    oklch(28.6% 0.067 157.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #38184F

    #38184F

    oklch(28.6% 0.099 308.1)

  • #3E2300

    #3E2300

    oklch(28.5% 0.063 67.8)

  • #00322F

    #00322F

    oklch(28.6% 0.05 188.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #38184F

    #38184F

    oklch(28.6% 0.099 308.1)

  • #4E1300

    #4E1300

    oklch(28.5% 0.093 38.2)

  • #1F3100

    #1F3100

    oklch(28.7% 0.075 128.4)

  • #00303B

    #00303B

    oklch(28.5% 0.051 218)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #38184F 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.