#38316F

Closest named color: Marine Blue (#01386A). oklch(35.6% 0.104 285), rgb(56, 49, 111).

Aa

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

About this color

#38316F is a dark, moderately saturated purple. In OKLCH its lightness is 36%, its chroma 0.104 and its hue 285°. Its hue sits on the cool side of the wheel. The nearest named color is Marine Blue (#01386A), ΔE 0.060 away. White text reads best on it, at 11.43:1.

Hue familyPurples
Lightnessdark (36%)
Chromamoderately saturated (0.104)
Temperaturecool
Nearest nameMarine Blue (#01386A)
Black text1.83:1
White text11.43:1

Values

HEX#38316F
RGBrgb(56, 49, 111)
HSLhsl(247, 39%, 31%)
OKLCHoklch(35.6% 0.104 285)

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 #38316F 11.43:1 AAA Lc -99.9 Preferred for body text
Black text on #38316F 1.83:1 Fails Lc 7.8 Not readable
#38316F text on white 11.43:1 AAA Lc 96.1 Preferred for body text
#38316F 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

    #F4F5FC

    oklch(97.1% 0.009 279.7)

  2. Step 100

    100

    #E8E8F9

    oklch(93.6% 0.023 286)

  3. Step 200

    200

    #D5D6F5

    oklch(88.5% 0.042 284)

  4. Step 300

    300

    #BBBAF1

    oklch(80.9% 0.077 285.4)

  5. Step 400

    400

    #9995EB

    oklch(70.8% 0.124 284.9)

  6. Step 500

    500

    #8278E4

    oklch(63.2% 0.158 285.1)

  7. Step 600

    600

    #6C5ED2

    oklch(55.6% 0.172 284.8)

  8. Step 700

    700

    #5B4DB6

    oklch(49.2% 0.16 285)

  9. Step 800

    800

    #4A4093

    oklch(42.8% 0.132 284.8)

  10. Step 900

    900 (this color)

    #38316F

    oklch(35.6% 0.104 285)

  11. Step 950

    950

    #242145

    oklch(27.1% 0.065 285)

Export this scale for Tailwind in the Tailwind colors tool

#38316F 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)#113B710.051
Deuteranopia (no green cones)#0F386E0.051
Tritanopia (no blue cones)#253F4B0.088
Achromatopsia (no color)#3A3A3A0.104

Harmonies

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

Complementary

The opposite hue (180°).

  • #38316F

    #38316F

    oklch(35.6% 0.104 285)

  • #423E00

    #423E00

    oklch(35.6% 0.076 105.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #38316F

    #38316F

    oklch(35.6% 0.104 285)

  • #0D3B70

    #0D3B70

    oklch(35.4% 0.104 255.2)

  • #502860

    #502860

    oklch(35.6% 0.103 315.4)

Open the analogous palette in the generator

Split complementary

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

  • #38316F

    #38316F

    oklch(35.6% 0.104 285)

  • #533500

    #533500

    oklch(35.6% 0.075 74.2)

  • #214700

    #214700

    oklch(35.6% 0.104 135.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #38316F

    #38316F

    oklch(35.6% 0.104 285)

  • #652600

    #652600

    oklch(35.6% 0.101 45.3)

  • #004832

    #004832

    oklch(35.6% 0.075 165)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #38316F

    #38316F

    oklch(35.6% 0.104 285)

  • #671F2A

    #671F2A

    oklch(35.6% 0.103 15.1)

  • #423E00

    #423E00

    oklch(35.6% 0.076 105.5)

  • #004646

    #004646

    oklch(35.7% 0.061 194.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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