#3A234D

Closest named color: Space Cadet (#2B2D42). oklch(30.6% 0.077 307.7), rgb(58, 35, 77).

Aa

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

About this color

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

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

Values

HEX#3A234D
RGBrgb(58, 35, 77)
HSLhsl(273, 37%, 22%)
OKLCHoklch(30.6% 0.077 307.7)

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 #3A234D 13.74:1 AAA Lc -103.3 Preferred for body text
Black text on #3A234D 1.52:1 Fails Lc 0.0 Not readable
#3A234D text on white 13.74:1 AAA Lc 100.2 Preferred for body text
#3A234D text on black 1.52: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

    #F8F3FC

    oklch(97.1% 0.013 310.5)

  2. Step 100

    100

    #EFE6F8

    oklch(93.7% 0.026 308.2)

  3. Step 200

    200

    #E2D1F4

    oklch(88.5% 0.051 307.2)

  4. Step 300

    300

    #D1B1EF

    oklch(80.9% 0.092 307.9)

  5. Step 400

    400

    #BA86E7

    oklch(70.8% 0.147 307.7)

  6. Step 500

    500

    #A863DF

    oklch(63% 0.187 307.6)

  7. Step 600

    600

    #9446CD

    oklch(55.7% 0.203 307.6)

  8. Step 700

    700

    #7E36B1

    oklch(49.1% 0.189 307.6)

  9. Step 800

    800

    #672E8F

    oklch(42.7% 0.156 308.1)

  10. Step 900

    900

    #532B72

    oklch(37.7% 0.121 307.6)

  11. Step 950

    950 (this color)

    #3A234D

    oklch(30.6% 0.077 307.7)

Export this scale for Tailwind in the Tailwind colors tool

#3A234D 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)#182C4E0.060
Deuteranopia (no green cones)#1E2D4C0.054
Tritanopia (no blue cones)#372A340.056
Achromatopsia (no color)#2D2D2D0.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A234D

    #3A234D

    oklch(30.6% 0.077 307.7)

  • #243602

    #243602

    oklch(30.6% 0.077 127.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A234D

    #3A234D

    oklch(30.6% 0.077 307.7)

  • #272A55

    #272A55

    oklch(30.6% 0.076 277.9)

  • #471E3D

    #471E3D

    oklch(30.6% 0.077 337.5)

Open the analogous palette in the generator

Split complementary

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

  • #3A234D

    #3A234D

    oklch(30.6% 0.077 307.7)

  • #382F00

    #382F00

    oklch(30.6% 0.063 97.6)

  • #003A21

    #003A21

    oklch(30.7% 0.072 158)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A234D

    #3A234D

    oklch(30.6% 0.077 307.7)

  • #452800

    #452800

    oklch(30.7% 0.067 68.6)

  • #003834

    #003834

    oklch(30.7% 0.054 187.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A234D

    #3A234D

    oklch(30.6% 0.077 307.7)

  • #4F1E0F

    #4F1E0F

    oklch(30.6% 0.078 37.5)

  • #243602

    #243602

    oklch(30.6% 0.077 127.7)

  • #003642

    #003642

    oklch(30.7% 0.055 217.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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