#38384C

Closest named color: Onyx (#343A40). oklch(34.9% 0.035 284.5), rgb(56, 56, 76).

Aa

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

About this color

#38384C is a dark, muted purple. In OKLCH its lightness is 35%, its chroma 0.035 and its hue 284°. Its hue sits on the cool side of the wheel. The nearest named color is Onyx (#343A40), ΔE 0.026 away. White text reads best on it, at 11.42:1.

Hue familyPurples
Lightnessdark (35%)
Chromamuted (0.035)
Temperaturecool
Nearest nameOnyx (#343A40)
Black text1.83:1
White text11.42:1

Values

HEX#38384C
RGBrgb(56, 56, 76)
HSLhsl(240, 15%, 26%)
OKLCHoklch(34.9% 0.035 284.5)

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 #38384C 11.42:1 AAA Lc -100.1 Preferred for body text
Black text on #38384C 1.83:1 Fails Lc 7.5 Not readable
#38384C text on white 11.42:1 AAA Lc 96.3 Preferred for body text
#38384C text on black 1.83: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 900.

  1. Step 50

    50

    #F5F5F8

    oklch(97.1% 0.004 286.3)

  2. Step 100

    100

    #E9E9EF

    oklch(93.6% 0.008 286.2)

  3. Step 200

    200

    #D8D8E3

    oklch(88.5% 0.015 286.1)

  4. Step 300

    300

    #BEBFD1

    oklch(80.9% 0.025 283.3)

  5. Step 400

    400

    #9D9EBA

    oklch(70.8% 0.041 283.7)

  6. Step 500

    500

    #8585A9

    oklch(63% 0.054 284.8)

  7. Step 600

    600

    #6F6F94

    oklch(55.6% 0.057 284.4)

  8. Step 700

    700

    #5D5D7E

    oklch(49.2% 0.053 284.3)

  9. Step 800

    800

    #4C4C67

    oklch(42.8% 0.044 284.4)

  10. Step 900

    900 (this color)

    #38384C

    oklch(34.9% 0.035 284.5)

  11. Step 950

    950

    #252531

    oklch(27% 0.022 284.8)

Export this scale for Tailwind in the Tailwind colors tool

#38384C 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)#333A4D0.009
Deuteranopia (no green cones)#32394B0.010
Tritanopia (no blue cones)#333B3F0.029
Achromatopsia (no color)#3A3A3A0.035

Harmonies

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

Complementary

The opposite hue (180°).

  • #38384C

    #38384C

    oklch(34.9% 0.035 284.5)

  • #3D3B26

    #3D3B26

    oklch(34.8% 0.034 103.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #38384C

    #38384C

    oklch(34.9% 0.035 284.5)

  • #2E3B4C

    #2E3B4C

    oklch(34.8% 0.035 255.3)

  • #413547

    #413547

    oklch(34.9% 0.035 314.3)

Open the analogous palette in the generator

Split complementary

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

  • #38384C

    #38384C

    oklch(34.9% 0.035 284.5)

  • #453826

    #453826

    oklch(35% 0.034 75.3)

  • #333E2C

    #333E2C

    oklch(34.8% 0.034 133.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #38384C

    #38384C

    oklch(34.9% 0.035 284.5)

  • #4A352B

    #4A352B

    oklch(35% 0.035 46.6)

  • #294036

    #294036

    oklch(34.9% 0.034 165.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #38384C

    #38384C

    oklch(34.9% 0.035 284.5)

  • #4B3335

    #4B3335

    oklch(35% 0.035 13.5)

  • #3D3B26

    #3D3B26

    oklch(34.8% 0.034 103.4)

  • #234040

    #234040

    oklch(34.9% 0.035 195.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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