#38327C

Closest named color: Dark Slate Blue (#483D8B). oklch(36.8% 0.121 282.3), rgb(56, 50, 124).

Aa

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

About this color

#38327C is a dark, moderately saturated purple. In OKLCH its lightness is 37%, its chroma 0.121 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.047 away. White text reads best on it, at 10.96:1.

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

Values

HEX#38327C
RGBrgb(56, 50, 124)
HSLhsl(245, 43%, 34%)
OKLCHoklch(36.8% 0.121 282.3)

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 #38327C 10.96:1 AAA Lc -99.0 Preferred for body text
Black text on #38327C 1.91:1 Fails Lc 8.8 Not readable
#38327C text on white 10.96:1 AAA Lc 95.1 Preferred for body text
#38327C text on black 1.91:1 Fails Lc -7.6 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

    #E7E8FC

    oklch(93.6% 0.027 283.6)

  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

    #9493F8

    oklch(70.7% 0.146 282.5)

  6. Step 500

    500

    #7C74F5

    oklch(63.1% 0.187 282.4)

  7. Step 600

    600

    #6759E3

    oklch(55.6% 0.201 282.2)

  8. Step 700

    700

    #5648C6

    oklch(49.2% 0.188 282)

  9. Step 800

    800

    #463CA0

    oklch(42.7% 0.156 282.1)

  10. Step 900

    900 (this color)

    #38327C

    oklch(36.8% 0.121 282.3)

  11. Step 950

    950

    #22204A

    oklch(27.1% 0.076 282.2)

Export this scale for Tailwind in the Tailwind colors tool

#38327C 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)#003F7E0.058
Deuteranopia (no green cones)#003A7A0.056
Tritanopia (no blue cones)#1B43520.103
Achromatopsia (no color)#3C3C3C0.122

Harmonies

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

Complementary

The opposite hue (180°).

  • #38327C

    #38327C

    oklch(36.8% 0.121 282.3)

  • #474000

    #474000

    oklch(36.7% 0.077 102.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #38327C

    #38327C

    oklch(36.8% 0.121 282.3)

  • #003F77

    #003F77

    oklch(36.7% 0.111 252.5)

  • #54276C

    #54276C

    oklch(36.8% 0.12 312)

Open the analogous palette in the generator

Split complementary

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

  • #38327C

    #38327C

    oklch(36.8% 0.121 282.3)

  • #583700

    #583700

    oklch(36.7% 0.079 72.2)

  • #294A00

    #294A00

    oklch(36.9% 0.103 132.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #38327C

    #38327C

    oklch(36.8% 0.121 282.3)

  • #6C2500

    #6C2500

    oklch(36.7% 0.11 42.4)

  • #004C32

    #004C32

    oklch(36.8% 0.081 162.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #38327C

    #38327C

    oklch(36.8% 0.121 282.3)

  • #71192D

    #71192D

    oklch(36.8% 0.121 12.6)

  • #474000

    #474000

    oklch(36.7% 0.077 102.5)

  • #004948

    #004948

    oklch(36.7% 0.063 193.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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