#38396F

Closest named color: Twilight Blue (#0A437A). oklch(37.2% 0.091 280.2), rgb(56, 57, 111).

Aa

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

About this color

#38396F is a dark, moderately saturated purple. In OKLCH its lightness is 37%, its chroma 0.091 and its hue 280°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.051 away. White text reads best on it, at 10.59:1.

Hue familyPurples
Lightnessdark (37%)
Chromamoderately saturated (0.091)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text1.98:1
White text10.59:1

Values

HEX#38396F
RGBrgb(56, 57, 111)
HSLhsl(239, 33%, 33%)
OKLCHoklch(37.2% 0.091 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 #38396F 10.59:1 AAA Lc -98.4 Preferred for body text
Black text on #38396F 1.98:1 Fails Lc 9.5 Not readable
#38396F text on white 10.59:1 AAA Lc 94.4 Preferred for body text
#38396F text on black 1.98:1 Fails Lc -8.2 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

    #F4F5FC

    oklch(97.1% 0.009 279.7)

  2. Step 100

    100

    #E7E9F7

    oklch(93.7% 0.019 279.5)

  3. Step 200

    200

    #D4D7F2

    oklch(88.5% 0.037 280.6)

  4. Step 300

    300

    #B7BCED

    oklch(80.8% 0.069 280.2)

  5. Step 400

    400

    #9399E3

    oklch(70.7% 0.108 279.7)

  6. Step 500

    500

    #7A7DDB

    oklch(63% 0.14 280.2)

  7. Step 600

    600

    #6565C9

    oklch(55.7% 0.151 280.3)

  8. Step 700

    700

    #5453AE

    oklch(49.1% 0.141 280.3)

  9. Step 800

    800

    #44448D

    oklch(42.6% 0.118 280.2)

  10. Step 900

    900 (this color)

    #38396F

    oklch(37.2% 0.091 280.2)

  11. Step 950

    950

    #212242

    oklch(26.9% 0.059 280.3)

Export this scale for Tailwind in the Tailwind colors tool

#38396F 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)#2341710.033
Deuteranopia (no green cones)#1F3D6E0.034
Tritanopia (no blue cones)#25444E0.079
Achromatopsia (no color)#3F3F3F0.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #38396F

    #38396F

    oklch(37.2% 0.091 280.2)

  • #4A4100

    #4A4100

    oklch(37.3% 0.078 100.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #38396F

    #38396F

    oklch(37.2% 0.091 280.2)

  • #12426E

    #12426E

    oklch(37.2% 0.091 250.3)

  • #4F3164

    #4F3164

    oklch(37.3% 0.091 309.8)

Open the analogous palette in the generator

Split complementary

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

  • #38396F

    #38396F

    oklch(37.2% 0.091 280.2)

  • #5B3700

    #5B3700

    oklch(37.2% 0.081 69.5)

  • #30490C

    #30490C

    oklch(37.2% 0.09 129.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #38396F

    #38396F

    oklch(37.2% 0.091 280.2)

  • #672C17

    #672C17

    oklch(37.2% 0.091 39.5)

  • #004D31

    #004D31

    oklch(37.1% 0.083 160.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #38396F

    #38396F

    oklch(37.2% 0.091 280.2)

  • #672835

    #672835

    oklch(37.1% 0.091 9.9)

  • #4A4100

    #4A4100

    oklch(37.3% 0.078 100.4)

  • #004B48

    #004B48

    oklch(37.3% 0.064 190.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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