#3A2358

Closest named color: Space Cadet (#2B2D42). oklch(31.4% 0.093 301.3), rgb(58, 35, 88).

Aa

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

About this color

#3A2358 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.45:1.

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

Values

HEX#3A2358
RGBrgb(58, 35, 88)
HSLhsl(266, 43%, 24%)
OKLCHoklch(31.4% 0.093 301.3)

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 #3A2358 13.45:1 AAA Lc -102.9 Preferred for body text
Black text on #3A2358 1.56:1 Fails Lc 0.0 Not readable
#3A2358 text on white 13.45:1 AAA Lc 99.7 Preferred for body text
#3A2358 text on black 1.56: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

    #B582FB

    oklch(70.7% 0.176 301.5)

  6. Step 500

    500

    #A35BF8

    oklch(63% 0.225 301.3)

  7. Step 600

    600

    #9038E7

    oklch(55.6% 0.244 301.5)

  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)

    #3A2358

    oklch(31.4% 0.093 301.3)

Export this scale for Tailwind in the Tailwind colors tool

#3A2358 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)#0D2E5A0.069
Deuteranopia (no green cones)#162E570.062
Tritanopia (no blue cones)#342D390.070
Achromatopsia (no color)#2F2F2F0.093

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A2358

    #3A2358

    oklch(31.4% 0.093 301.3)

  • #2C3700

    #2C3700

    oklch(31.5% 0.076 121.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A2358

    #3A2358

    oklch(31.4% 0.093 301.3)

  • #212C60

    #212C60

    oklch(31.5% 0.093 271.2)

  • #4B1C46

    #4B1C46

    oklch(31.4% 0.093 331.8)

Open the analogous palette in the generator

Split complementary

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

  • #3A2358

    #3A2358

    oklch(31.4% 0.093 301.3)

  • #3D3000

    #3D3000

    oklch(31.5% 0.064 92.4)

  • #003D19

    #003D19

    oklch(31.5% 0.085 150.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A2358

    #3A2358

    oklch(31.4% 0.093 301.3)

  • #4B2700

    #4B2700

    oklch(31.4% 0.073 61.2)

  • #003A33

    #003A33

    oklch(31.3% 0.056 181.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A2358

    #3A2358

    oklch(31.4% 0.093 301.3)

  • #571A10

    #571A10

    oklch(31.4% 0.092 31.8)

  • #2C3700

    #2C3700

    oklch(31.5% 0.076 121.2)

  • #003841

    #003841

    oklch(31.3% 0.055 212.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #3A2358 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.