#38367F

Closest named color: Dark Slate Blue (#483D8B). oklch(37.8% 0.12 280.2), rgb(56, 54, 127).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (38%)
Chromamoderately saturated (0.120)
Temperaturecool
Nearest nameDark Slate Blue (#483D8B)
Black text2.00:1
White text10.48:1

Values

HEX#38367F
RGBrgb(56, 54, 127)
HSLhsl(242, 40%, 35%)
OKLCHoklch(37.8% 0.12 280.2)

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 #38367F 10.48:1 AAA Lc -98.1 Preferred for body text
Black text on #38367F 2.00:1 Fails Lc 9.9 Not readable
#38367F text on white 10.48:1 AAA Lc 94.1 Preferred for body text
#38367F text on black 2.00:1 Fails Lc -8.5 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

    #E6E8FC

    oklch(93.5% 0.027 281.3)

  3. Step 200

    200

    #D2D6FA

    oklch(88.4% 0.05 280.3)

  4. Step 300

    300

    #B5BBFA

    oklch(81% 0.089 280)

  5. Step 400

    400

    #9094F8

    oklch(70.6% 0.145 280.3)

  6. Step 500

    500

    #7876F4

    oklch(63% 0.184 280.5)

  7. Step 600

    600

    #635BE3

    oklch(55.6% 0.2 280.3)

  8. Step 700

    700

    #524AC5

    oklch(49.1% 0.185 280)

  9. Step 800

    800

    #433DA0

    oklch(42.7% 0.155 280.3)

  10. Step 900

    900 (this color)

    #38367F

    oklch(37.8% 0.12 280.2)

  11. Step 950

    950

    #20204A

    oklch(26.9% 0.076 280)

Export this scale for Tailwind in the Tailwind colors tool

#38367F 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)#0542810.053
Deuteranopia (no green cones)#003D7D0.053
Tritanopia (no blue cones)#1847550.103
Achromatopsia (no color)#3F3F3F0.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #38367F

    #38367F

    oklch(37.8% 0.12 280.2)

  • #4C4200

    #4C4200

    oklch(37.8% 0.078 99.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #38367F

    #38367F

    oklch(37.8% 0.12 280.2)

  • #004378

    #004378

    oklch(37.8% 0.108 250.3)

  • #552B70

    #552B70

    oklch(37.8% 0.119 310)

Open the analogous palette in the generator

Split complementary

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

  • #38367F

    #38367F

    oklch(37.8% 0.12 280.2)

  • #5D3900

    #5D3900

    oklch(37.9% 0.082 70.4)

  • #2F4C00

    #2F4C00

    oklch(37.9% 0.102 130.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #38367F

    #38367F

    oklch(37.8% 0.12 280.2)

  • #732400

    #732400

    oklch(37.9% 0.119 40.1)

  • #004F32

    #004F32

    oklch(37.7% 0.085 160.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #38367F

    #38367F

    oklch(37.8% 0.12 280.2)

  • #731D33

    #731D33

    oklch(37.8% 0.12 10)

  • #4C4200

    #4C4200

    oklch(37.8% 0.078 99.5)

  • #004D4A

    #004D4A

    oklch(37.9% 0.065 190.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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