#3A2C4A#3A2C4A

#3A2C4A is a dark, muted violet. Relative luminance 0.032; OKLCH L 32.3% C 0.055 H 305.0°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#3A2C4A
RGBrgb(58, 44, 74)
HSLhsl(268, 25%, 23%)
HSVhsv(268, 41%, 29%)
CMYKcmyk(21.6%, 40.5%, 0%, 71%)
CIE-LABlab(20.81, 13.52, -16.23)
CIE-LCHlch(20.81, 21.12, 309.79°)
OKLaboklab(32.27% 0.0314 -0.0449)
OKLCHoklch(32.27% 0.055 305)
XYZxyz(3.8814, 3.1953, 6.8895)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2C4A #3C4A2C
analogous
#2C2D4A #3A2C4A #492C4A
triadic
#3A2C4A #4A3A2C #2C4A3A
tetradic
#3A2C4A #4A2C2D #3C4A2C #2C4A49
square
#3A2C4A #4A2C2D #3C4A2C #2C4A49
split-complementary
#3A2C4A #4A492C #2D4A2C
monochromatic
#0F0B13 #1C1524 #3A2C4A #584370 #765A97

Accessibility & contrast

On white

12.81
#3A2C4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#3A2C4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2C4A
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2C4A#FFFFFF#000000##FFFFFF
##3A2C4A1.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25324B
Deuteranopia (green-blind)
#283249
Tritanopia (blue-blind)
#383137
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #3a2c4a;
/* rgb */ color: rgb(58, 44, 74);
/* oklch */ color: oklch(32.3% 0.055 305.0);
Tailwind
colors: {
  custom: {
    50: '#71657c',
    500: '#3a2c4a',
    950: '#000000',
  },
}
SCSS
$custom: #3a2c4a;
$custom-light: #71657c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2c4a",
  "rgb": {
    "r": 58,
    "g": 44,
    "b": 74
  },
  "hsl": {
    "h": 268,
    "s": 25.424,
    "l": 23.137
  },
  "oklch": {
    "l": 0.3227,
    "c": 0.05483,
    "h": 305
  },
  "luminance": 0.03195
}

Semantic roles & 50–950 ramp

primary
#3A2C4A
secondary
#6A7C56
accent
#C26697
background
#F6F6F7
surface
#ECEBEE
border
#C7C6C9
text
#070509
muted
#7A7A7B

Preview Lab

Preview with #3A2C4A

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

Preview Lab → · Contrast checker → · Palette generator →

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