#3A2F48

Closest named color: Space Cadet (#2B2D42). oklch(32.8% 0.046 304.2), rgb(58, 47, 72).

Aa

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

About this color

#3A2F48 is a dark, muted purple. In OKLCH its lightness is 33%, its chroma 0.046 and its hue 304°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.030 away. White text reads best on it, at 12.49:1.

Hue familyPurples
Lightnessdark (33%)
Chromamuted (0.046)
Temperaturein between
Nearest nameSpace Cadet (#2B2D42)
Black text1.68:1
White text12.49:1

Values

HEX#3A2F48
RGBrgb(58, 47, 72)
HSLhsl(266, 21%, 23%)
OKLCHoklch(32.8% 0.046 304.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 #3A2F48 12.49:1 AAA Lc -101.8 Preferred for body text
Black text on #3A2F48 1.68:1 Fails Lc 0.0 Not readable
#3A2F48 text on white 12.49:1 AAA Lc 98.4 Preferred for body text
#3A2F48 text on black 1.68: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

    #F6F5F8

    oklch(97.2% 0.004 301.4)

  2. Step 100

    100

    #EBE8EF

    oklch(93.5% 0.01 305.4)

  3. Step 200

    200

    #DCD6E4

    oklch(88.5% 0.02 305.2)

  4. Step 300

    300

    #C5BCD3

    oklch(81% 0.033 303.4)

  5. Step 400

    400

    #A899BD

    oklch(70.8% 0.054 304)

  6. Step 500

    500

    #937FAC

    oklch(63.1% 0.07 304.8)

  7. Step 600

    600

    #7D6898

    oklch(55.6% 0.077 304.1)

  8. Step 700

    700

    #695781

    oklch(49.1% 0.069 303.6)

  9. Step 800

    800

    #564769

    oklch(42.7% 0.058 304.3)

  10. Step 900

    900 (this color)

    #3A2F48

    oklch(32.8% 0.046 304.2)

  11. Step 950

    950

    #292332

    oklch(27% 0.029 302.8)

Export this scale for Tailwind in the Tailwind colors tool

#3A2F48 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)#2A33490.028
Deuteranopia (no green cones)#2C34470.028
Tritanopia (no blue cones)#3833380.035
Achromatopsia (no color)#3434340.046

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A2F48

    #3A2F48

    oklch(32.8% 0.046 304.2)

  • #30391E

    #30391E

    oklch(32.8% 0.046 123.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A2F48

    #3A2F48

    oklch(32.8% 0.046 304.2)

  • #2E334C

    #2E334C

    oklch(32.8% 0.045 275)

  • #432C3F

    #432C3F

    oklch(32.8% 0.046 332.9)

Open the analogous palette in the generator

Split complementary

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

  • #3A2F48

    #3A2F48

    oklch(32.8% 0.046 304.2)

  • #3D3518

    #3D3518

    oklch(33% 0.046 94.3)

  • #213C2A

    #213C2A

    oklch(32.9% 0.046 153.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A2F48

    #3A2F48

    oklch(32.8% 0.046 304.2)

  • #45301B

    #45301B

    oklch(32.8% 0.045 65.1)

  • #153D38

    #153D38

    oklch(33% 0.046 184.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A2F48

    #3A2F48

    oklch(32.8% 0.046 304.2)

  • #492C25

    #492C25

    oklch(32.7% 0.045 34.3)

  • #30391E

    #30391E

    oklch(32.8% 0.046 123.9)

  • #143B43

    #143B43

    oklch(32.8% 0.045 213.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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