#38337C

Closest named color: Dark Slate Blue (#483D8B). oklch(37% 0.12 281.9), rgb(56, 51, 124).

Aa

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

About this color

#38337C is a dark, moderately saturated purple. In OKLCH its lightness is 37%, its chroma 0.120 and its hue 282°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Slate Blue (#483D8B), ΔE 0.046 away. White text reads best on it, at 10.86:1.

Hue familyPurples
Lightnessdark (37%)
Chromamoderately saturated (0.120)
Temperaturecool
Nearest nameDark Slate Blue (#483D8B)
Black text1.93:1
White text10.86:1

Values

HEX#38337C
RGBrgb(56, 51, 124)
HSLhsl(244, 42%, 34%)
OKLCHoklch(37% 0.12 281.9)

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 #38337C 10.86:1 AAA Lc -98.8 Preferred for body text
Black text on #38337C 1.93:1 Fails Lc 9.0 Not readable
#38337C text on white 10.86:1 AAA Lc 94.9 Preferred for body text
#38337C text on black 1.93:1 Fails Lc -7.7 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

    #F4F5FE

    oklch(97.2% 0.012 281.1)

  2. Step 100

    100

    #E7E8FB

    oklch(93.6% 0.026 283.5)

  3. Step 200

    200

    #D3D6FA

    oklch(88.5% 0.05 281.6)

  4. Step 300

    300

    #B7BAFA

    oklch(80.9% 0.09 282.1)

  5. Step 400

    400

    #9394F7

    oklch(70.8% 0.143 281.7)

  6. Step 500

    500

    #7B75F4

    oklch(63.1% 0.184 281.8)

  7. Step 600

    600

    #665AE2

    oklch(55.6% 0.199 281.7)

  8. Step 700

    700

    #5648C5

    oklch(49.1% 0.187 282.1)

  9. Step 800

    800

    #463C9F

    oklch(42.6% 0.154 282.2)

  10. Step 900

    900 (this color)

    #38337C

    oklch(37% 0.12 281.9)

  11. Step 950

    950

    #22204A

    oklch(27.1% 0.076 282.2)

Export this scale for Tailwind in the Tailwind colors tool

#38337C 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)#00407E0.058
Deuteranopia (no green cones)#003A7A0.056
Tritanopia (no blue cones)#1B44520.103
Achromatopsia (no color)#3D3D3D0.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #38337C

    #38337C

    oklch(37% 0.12 281.9)

  • #484100

    #484100

    oklch(37.1% 0.078 102.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #38337C

    #38337C

    oklch(37% 0.12 281.9)

  • #004077

    #004077

    oklch(36.9% 0.11 251.9)

  • #54286C

    #54286C

    oklch(36.9% 0.119 311.8)

Open the analogous palette in the generator

Split complementary

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

  • #38337C

    #38337C

    oklch(37% 0.12 281.9)

  • #593700

    #593700

    oklch(36.9% 0.079 71.3)

  • #2A4A00

    #2A4A00

    oklch(37% 0.103 132)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #38337C

    #38337C

    oklch(37% 0.12 281.9)

  • #6D2500

    #6D2500

    oklch(36.9% 0.111 42.2)

  • #004C32

    #004C32

    oklch(36.8% 0.081 162.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #38337C

    #38337C

    oklch(37% 0.12 281.9)

  • #711A2F

    #711A2F

    oklch(37% 0.12 11.5)

  • #484100

    #484100

    oklch(37.1% 0.078 102.6)

  • #004A48

    #004A48

    oklch(37% 0.064 191.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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