#38336F

Closest named color: Marine Blue (#01386A). oklch(36% 0.1 283.9), rgb(56, 51, 111).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (36%)
Chromamoderately saturated (0.100)
Temperaturecool
Nearest nameMarine Blue (#01386A)
Black text1.87:1
White text11.22:1

Values

HEX#38336F
RGBrgb(56, 51, 111)
HSLhsl(245, 37%, 32%)
OKLCHoklch(36% 0.1 283.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 #38336F 11.22:1 AAA Lc -99.5 Preferred for body text
Black text on #38336F 1.87:1 Fails Lc 8.2 Not readable
#38336F text on white 11.22:1 AAA Lc 95.7 Preferred for body text
#38336F text on black 1.87: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

    #E8E8F8

    oklch(93.6% 0.022 286)

  3. Step 200

    200

    #D5D6F5

    oklch(88.5% 0.042 284)

  4. Step 300

    300

    #BABBF0

    oklch(81% 0.074 283.8)

  5. Step 400

    400

    #9896E9

    oklch(70.8% 0.12 284)

  6. Step 500

    500

    #8079E2

    oklch(63.1% 0.154 284.1)

  7. Step 600

    600

    #6B60D0

    oklch(55.7% 0.167 284)

  8. Step 700

    700

    #594EB4

    oklch(49% 0.156 283.9)

  9. Step 800

    800

    #494192

    oklch(42.8% 0.129 284)

  10. Step 900

    900 (this color)

    #38336F

    oklch(36% 0.1 283.9)

  11. Step 950

    950

    #232144

    oklch(27% 0.064 283.9)

Export this scale for Tailwind in the Tailwind colors tool

#38336F 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)#173D710.046
Deuteranopia (no green cones)#14396E0.046
Tritanopia (no blue cones)#25404C0.085
Achromatopsia (no color)#3B3B3B0.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #38336F

    #38336F

    oklch(36% 0.1 283.9)

  • #443E00

    #443E00

    oklch(35.9% 0.076 103.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #38336F

    #38336F

    oklch(36% 0.1 283.9)

  • #0E3D70

    #0E3D70

    oklch(36% 0.101 254.1)

  • #502A61

    #502A61

    oklch(36% 0.1 314.4)

Open the analogous palette in the generator

Split complementary

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

  • #38336F

    #38336F

    oklch(36% 0.1 283.9)

  • #543600

    #543600

    oklch(36% 0.076 74.7)

  • #254803

    #254803

    oklch(36.1% 0.101 134.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #38336F

    #38336F

    oklch(36% 0.1 283.9)

  • #662704

    #662704

    oklch(36% 0.1 44.2)

  • #004932

    #004932

    oklch(35.9% 0.076 164.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #38336F

    #38336F

    oklch(36% 0.1 283.9)

  • #67212D

    #67212D

    oklch(35.9% 0.1 13.5)

  • #443E00

    #443E00

    oklch(35.9% 0.076 103.4)

  • #004746

    #004746

    oklch(36% 0.062 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 #38336F, closest first.

Similar named colors

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

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