#392257

Closest named color: Space Cadet (#2B2D42). oklch(31% 0.093 301.2), rgb(57, 34, 87).

Aa

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

About this color

#392257 is a dark, moderately saturated purple. In OKLCH its lightness is 31%, its chroma 0.093 and its hue 301°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.060 away. White text reads best on it, at 13.63:1.

Hue familyPurples
Lightnessdark (31%)
Chromamoderately saturated (0.093)
Temperaturein between
Nearest nameSpace Cadet (#2B2D42)
Black text1.54:1
White text13.63:1

Values

HEX#392257
RGBrgb(57, 34, 87)
HSLhsl(266, 44%, 24%)
OKLCHoklch(31% 0.093 301.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 #392257 13.63:1 AAA Lc -103.1 Preferred for body text
Black text on #392257 1.54:1 Fails Lc 0.0 Not readable
#392257 text on white 13.63:1 AAA Lc 99.9 Preferred for body text
#392257 text on black 1.54: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 950.

  1. Step 50

    50

    #F7F3FE

    oklch(97% 0.015 302.6)

  2. Step 100

    100

    #EDE5FC

    oklch(93.5% 0.032 301.6)

  3. Step 200

    200

    #E0D0FC

    oklch(88.5% 0.062 301.7)

  4. Step 300

    300

    #CDB0FD

    oklch(80.9% 0.111 301.3)

  5. Step 400

    400

    #B482FB

    oklch(70.6% 0.176 301.1)

  6. Step 500

    500

    #A35BF9

    oklch(63% 0.226 301.1)

  7. Step 600

    600

    #8F38E8

    oklch(55.6% 0.245 300.9)

  8. Step 700

    700

    #7A27C9

    oklch(49% 0.228 301.2)

  9. Step 800

    800

    #6324A3

    oklch(42.7% 0.189 301)

  10. Step 900

    900

    #512581

    oklch(37.7% 0.147 301.5)

  11. Step 950

    950 (this color)

    #392257

    oklch(31% 0.093 301.2)

Export this scale for Tailwind in the Tailwind colors tool

#392257 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)#0C2D590.069
Deuteranopia (no green cones)#142D560.063
Tritanopia (no blue cones)#332D380.072
Achromatopsia (no color)#2E2E2E0.093

Harmonies

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

Complementary

The opposite hue (180°).

  • #392257

    #392257

    oklch(31% 0.093 301.2)

  • #2B3600

    #2B3600

    oklch(31.1% 0.075 121.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #392257

    #392257

    oklch(31% 0.093 301.2)

  • #202B5F

    #202B5F

    oklch(31.1% 0.093 271.1)

  • #4A1B45

    #4A1B45

    oklch(31.1% 0.093 331.8)

Open the analogous palette in the generator

Split complementary

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

  • #392257

    #392257

    oklch(31% 0.093 301.2)

  • #3C2F00

    #3C2F00

    oklch(31.1% 0.064 92.1)

  • #003C19

    #003C19

    oklch(31.2% 0.084 151.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #392257

    #392257

    oklch(31% 0.093 301.2)

  • #4A2600

    #4A2600

    oklch(31% 0.072 60.6)

  • #003932

    #003932

    oklch(30.9% 0.055 181.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #392257

    #392257

    oklch(31% 0.093 301.2)

  • #56180F

    #56180F

    oklch(30.9% 0.094 31.1)

  • #2B3600

    #2B3600

    oklch(31.1% 0.075 121.4)

  • #003740

    #003740

    oklch(30.9% 0.054 212.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #392257 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.