#3A293F#3A293F

#3A293F is a dark, muted purple. Relative luminance 0.028; OKLCH L 31.0% C 0.045 H 318.4°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#3A293F
RGBrgb(58, 41, 63)
HSLhsl(286, 21%, 20%)
HSVhsv(286, 35%, 25%)
CMYKcmyk(7.9%, 34.9%, 0%, 75.3%)
CIE-LABlab(19.41, 12.68, -10.90)
CIE-LCHlch(19.41, 16.72, 319.32°)
OKLaboklab(31.03% 0.0335 -0.0297)
OKLCHoklch(31.03% 0.045 318.4)
XYZxyz(3.4349, 2.8444, 5.0697)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A293F #2E3F29
analogous
#2F293F #3A293F #3F2939
triadic
#3A293F #3F3A29 #293F3A
tetradic
#3A293F #3F2F29 #2E3F29 #29393F
square
#3A293F #3F2F29 #2E3F29 #29393F
split-complementary
#3A293F #393F29 #293F2F
monochromatic
#110C13 #18111A #3A293F #5C4164 #7E5989

Accessibility & contrast

On white

13.39
#3A293F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A293F
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A293F#FFFFFF#000000##FFFFFF
##3A293F1.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262E40
Deuteranopia (green-blind)
#2A303E
Tritanopia (blue-blind)
#3A2B31
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3a293f;
/* rgb */ color: rgb(58, 41, 63);
/* oklch */ color: oklch(31.0% 0.045 318.4);
Tailwind
colors: {
  custom: {
    50: '#706374',
    500: '#3a293f',
    950: '#000000',
  },
}
SCSS
$custom: #3a293f;
$custom-light: #706374;
$custom-dark: #000000;
JSON
{
  "hex": "#3a293f",
  "rgb": {
    "r": 58,
    "g": 41,
    "b": 63
  },
  "hsl": {
    "h": 286.364,
    "s": 21.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31027,
    "c": 0.04476,
    "h": 318.4
  },
  "luminance": 0.02844
}

Semantic roles & 50–950 ramp

primary
#3A293F
secondary
#5A7053
accent
#BE6A7D
background
#F6F5F7
surface
#ECEAED
border
#C7C6C8
text
#070508
muted
#7A797B

Preview Lab

Preview with #3A293F

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

Preview Lab → · Contrast checker → · Palette generator →

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