#3A293D#3A293D

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

Color values

HEX#3A293D
RGBrgb(58, 41, 61)
HSLhsl(291, 20%, 20%)
HSVhsv(291, 33%, 24%)
CMYKcmyk(4.9%, 32.8%, 0%, 76.1%)
CIE-LABlab(19.32, 12.19, -9.66)
CIE-LCHlch(19.32, 15.56, 321.60°)
OKLaboklab(30.93% 0.0328 -0.0262)
OKLCHoklch(30.93% 0.042 321.3)
XYZxyz(3.3801, 2.8224, 4.7807)
Luminance0.0282 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A293D #2C3D29
analogous
#30293D #3A293D #3D2936
triadic
#3A293D #3D3A29 #293D3A
tetradic
#3A293D #3D3029 #2C3D29 #29363D
square
#3A293D #3D3029 #2C3D29 #29363D
split-complementary
#3A293D #363D29 #293D30
monochromatic
#110C12 #171018 #3A293D #5D4262 #805A86

Accessibility & contrast

On white

13.42
#3A293D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A293D
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A293D#FFFFFF#000000##FFFFFF
##3A293D1.0013.421.5613.42
#FFFFFF13.421.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a293d;
/* rgb */ color: rgb(58, 41, 61);
/* oklch */ color: oklch(30.9% 0.042 321.3);
Tailwind
colors: {
  custom: {
    50: '#706372',
    500: '#3a293d',
    950: '#000000',
  },
}
SCSS
$custom: #3a293d;
$custom-light: #706372;
$custom-dark: #000000;
JSON
{
  "hex": "#3a293d",
  "rgb": {
    "r": 58,
    "g": 41,
    "b": 61
  },
  "hsl": {
    "h": 291,
    "s": 19.608,
    "l": 20
  },
  "oklch": {
    "l": 0.30927,
    "c": 0.042,
    "h": 321.3
  },
  "luminance": 0.02822
}

Semantic roles & 50–950 ramp

primary
#3A293D
secondary
#586E54
accent
#BC6C78
background
#F6F5F6
surface
#ECEAEC
border
#C7C6C7
text
#070508
muted
#7A797B

Preview Lab

Preview with #3A293D

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

Preview Lab → · Contrast checker → · Palette generator →

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