#3A2A3A#3A2A3A

#3A2A3A is a dark, muted purple. Relative luminance 0.029; OKLCH L 31.0% C 0.036 H 326.4°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#3A2A3A
RGBrgb(58, 42, 58)
HSLhsl(300, 16%, 20%)
HSVhsv(300, 28%, 23%)
CMYKcmyk(0%, 27.6%, 0%, 77.3%)
CIE-LABlab(19.48, 10.79, -7.35)
CIE-LCHlch(19.48, 13.06, 325.74°)
OKLaboklab(31.01% 0.0298 -0.0198)
OKLCHoklch(31.01% 0.036 326.4)
XYZxyz(3.3365, 2.8610, 4.3786)
Luminance0.0286 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2A3A #2A3A2A
analogous
#322A3A #3A2A3A #3A2A32
triadic
#3A2A3A #3A3A2A #2A3A3A
tetradic
#3A2A3A #3A322A #2A3A2A #2A323A
square
#3A2A3A #3A322A #2A3A2A #2A323A
split-complementary
#3A2A3A #323A2A #2A3A32
monochromatic
#120D12 #171017 #3A2A3A #5D445D #815D81

Accessibility & contrast

On white

13.36
#3A2A3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#3A2A3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2A3A
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2A3A#FFFFFF#000000##FFFFFF
##3A2A3A1.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292E3B
Deuteranopia (green-blind)
#2D3039
Tritanopia (blue-blind)
#3B2B30
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3a2a3a;
/* rgb */ color: rgb(58, 42, 58);
/* oklch */ color: oklch(31.0% 0.036 326.4);
Tailwind
colors: {
  custom: {
    50: '#706370',
    500: '#3a2a3a',
    950: '#000000',
  },
}
SCSS
$custom: #3a2a3a;
$custom-light: #706370;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2a3a",
  "rgb": {
    "r": 58,
    "g": 42,
    "b": 58
  },
  "hsl": {
    "h": 300,
    "s": 16,
    "l": 19.608
  },
  "oklch": {
    "l": 0.31006,
    "c": 0.03577,
    "h": 326.4
  },
  "luminance": 0.02861
}

Semantic roles & 50–950 ramp

primary
#3A2A3A
secondary
#556B55
accent
#B96F6F
background
#F6F5F6
surface
#ECEAEC
border
#C7C6C7
text
#070507
muted
#7A797A

Preview Lab

Preview with #3A2A3A

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#3A2A3A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva