#3A2A42#3A2A42

#3A2A42 is a dark, muted purple. Relative luminance 0.029; OKLCH L 31.4% C 0.047 H 314.1°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#3A2A42
RGBrgb(58, 42, 66)
HSLhsl(280, 22%, 21%)
HSVhsv(280, 36%, 26%)
CMYKcmyk(12.1%, 36.4%, 0%, 74.1%)
CIE-LABlab(19.84, 12.76, -12.30)
CIE-LCHlch(19.84, 17.72, 316.05°)
OKLaboklab(31.4% 0.0326 -0.0337)
OKLCHoklch(31.4% 0.047 314.1)
XYZxyz(3.5561, 2.9489, 5.5351)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2A42 #32422A
analogous
#2E2A42 #3A2A42 #422A3E
triadic
#3A2A42 #423A2A #2A423A
tetradic
#3A2A42 #422E2A #32422A #2A3E42
square
#3A2A42 #422E2A #32422A #2A3E42
split-complementary
#3A2A42 #3E422A #2A422E
monochromatic
#100C13 #19121D #3A2A42 #5B4267 #7C5A8D

Accessibility & contrast

On white

13.21
#3A2A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#3A2A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2A42
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2A42#FFFFFF#000000##FFFFFF
##3A2A421.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262F43
Deuteranopia (green-blind)
#2A3041
Tritanopia (blue-blind)
#392D33
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3a2a42;
/* rgb */ color: rgb(58, 42, 66);
/* oklch */ color: oklch(31.4% 0.047 314.1);
Tailwind
colors: {
  custom: {
    50: '#706376',
    500: '#3a2a42',
    950: '#000000',
  },
}
SCSS
$custom: #3a2a42;
$custom-light: #706376;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2a42",
  "rgb": {
    "r": 58,
    "g": 42,
    "b": 66
  },
  "hsl": {
    "h": 280,
    "s": 22.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.314,
    "c": 0.04689,
    "h": 314.1
  },
  "luminance": 0.02949
}

Semantic roles & 50–950 ramp

primary
#3A2A42
secondary
#5F7354
accent
#BF6986
background
#F6F5F7
surface
#ECEAED
border
#C7C6C8
text
#070508
muted
#7A797B

Preview Lab

Preview with #3A2A42

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

Preview Lab → · Contrast checker → · Palette generator →

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