#3A293C#3A293C

#3A293C is a dark, muted purple. Relative luminance 0.028; OKLCH L 30.9% C 0.041 H 322.9°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#3A293C
RGBrgb(58, 41, 60)
HSLhsl(294, 19%, 20%)
HSVhsv(294, 32%, 24%)
CMYKcmyk(3.3%, 31.7%, 0%, 76.5%)
CIE-LABlab(19.27, 11.95, -9.04)
CIE-LCHlch(19.27, 14.98, 322.88°)
OKLaboklab(30.88% 0.0324 -0.0245)
OKLCHoklch(30.88% 0.041 322.9)
XYZxyz(3.3534, 2.8118, 4.6402)
Luminance0.0281 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A293C #2B3C29
analogous
#31293C #3A293C #3C2935
triadic
#3A293C #3C3A29 #293C3A
tetradic
#3A293C #3C3129 #2B3C29 #29353C
square
#3A293C #3C3129 #2B3C29 #29353C
split-complementary
#3A293C #353C29 #293C31
monochromatic
#120C12 #171018 #3A293C #5D4260 #805B85

Accessibility & contrast

On white

13.44
#3A293C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#3A293C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A293C
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A293C#FFFFFF#000000##FFFFFF
##3A293C1.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272D3D
Deuteranopia (green-blind)
#2B2F3B
Tritanopia (blue-blind)
#3B2B30
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3a293c;
/* rgb */ color: rgb(58, 41, 60);
/* oklch */ color: oklch(30.9% 0.041 322.9);
Tailwind
colors: {
  custom: {
    50: '#706371',
    500: '#3a293c',
    950: '#000000',
  },
}
SCSS
$custom: #3a293c;
$custom-light: #706371;
$custom-dark: #000000;
JSON
{
  "hex": "#3a293c",
  "rgb": {
    "r": 58,
    "g": 41,
    "b": 60
  },
  "hsl": {
    "h": 293.684,
    "s": 18.812,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30878,
    "c": 0.04064,
    "h": 322.9
  },
  "luminance": 0.02812
}

Semantic roles & 50–950 ramp

primary
#3A293C
secondary
#566D54
accent
#BB6C75
background
#F6F5F6
surface
#ECEAEC
border
#C7C6C7
text
#070507
muted
#7A797A

Preview Lab

Preview with #3A293C

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

Preview Lab → · Contrast checker → · Palette generator →

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