#38345F

Closest named color: Prussian Blue (#1D3557). oklch(35.1% 0.073 286.2), rgb(56, 52, 95).

Aa

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

About this color

#38345F is a dark, moderately saturated purple. In OKLCH its lightness is 35%, its chroma 0.073 and its hue 286°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.043 away. White text reads best on it, at 11.50:1.

Hue familyPurples
Lightnessdark (35%)
Chromamoderately saturated (0.073)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.82:1
White text11.50:1

Values

HEX#38345F
RGBrgb(56, 52, 95)
HSLhsl(246, 29%, 29%)
OKLCHoklch(35.1% 0.073 286.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 #38345F 11.50:1 AAA Lc -100.1 Preferred for body text
Black text on #38345F 1.82:1 Fails Lc 7.5 Not readable
#38345F text on white 11.50:1 AAA Lc 96.4 Preferred for body text
#38345F text on black 1.82: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

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #E9E9F4

    oklch(93.7% 0.015 286.1)

  3. Step 200

    200

    #D7D7ED

    oklch(88.6% 0.03 285.8)

  4. Step 300

    300

    #BDBCE3

    oklch(80.9% 0.055 286.3)

  5. Step 400

    400

    #9C99D5

    oklch(70.8% 0.087 286.2)

  6. Step 500

    500

    #847ECA

    oklch(63% 0.113 286.3)

  7. Step 600

    600

    #6E66B7

    oklch(55.5% 0.123 286.2)

  8. Step 700

    700

    #5C559E

    oklch(49.1% 0.114 285.8)

  9. Step 800

    800

    #4B4680

    oklch(42.7% 0.094 285.6)

  10. Step 900

    900 (this color)

    #38345F

    oklch(35.1% 0.073 286.2)

  11. Step 950

    950

    #25233C

    oklch(27.1% 0.046 286.6)

Export this scale for Tailwind in the Tailwind colors tool

#38345F 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)#253A610.031
Deuteranopia (no green cones)#24385E0.031
Tritanopia (no blue cones)#2D3C450.061
Achromatopsia (no color)#3939390.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #38345F

    #38345F

    oklch(35.1% 0.073 286.2)

  • #403D02

    #403D02

    oklch(35.2% 0.074 106.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #38345F

    #38345F

    oklch(35.1% 0.073 286.2)

  • #1F3B60

    #1F3B60

    oklch(35% 0.073 256)

  • #4A2E54

    #4A2E54

    oklch(35.2% 0.073 316.8)

Open the analogous palette in the generator

Split complementary

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

  • #38345F

    #38345F

    oklch(35.1% 0.073 286.2)

  • #503400

    #503400

    oklch(35% 0.073 75.8)

  • #28431A

    #28431A

    oklch(35% 0.073 136.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #38345F

    #38345F

    oklch(35.1% 0.073 286.2)

  • #592D16

    #592D16

    oklch(35% 0.073 46.7)

  • #004632

    #004632

    oklch(35% 0.072 166.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #38345F

    #38345F

    oklch(35.1% 0.073 286.2)

  • #5B292D

    #5B292D

    oklch(35.1% 0.073 16.6)

  • #403D02

    #403D02

    oklch(35.2% 0.074 106.4)

  • #004445

    #004445

    oklch(35.1% 0.06 196.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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