#3A2C44#3A2C44

#3A2C44 is a dark, muted violet. Relative luminance 0.031; OKLCH L 31.9% C 0.046 H 310.6°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#3A2C44
RGBrgb(58, 44, 68)
HSLhsl(275, 21%, 22%)
HSVhsv(275, 35%, 27%)
CMYKcmyk(14.7%, 35.3%, 0%, 73.3%)
CIE-LABlab(20.51, 11.91, -12.63)
CIE-LCHlch(20.51, 17.36, 313.32°)
OKLaboklab(31.95% 0.0296 -0.0346)
OKLCHoklch(31.95% 0.046 310.6)
XYZxyz(3.6888, 3.1183, 5.8753)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2C44 #36442C
analogous
#2E2C44 #3A2C44 #442C42
triadic
#3A2C44 #443A2C #2C443A
tetradic
#3A2C44 #442E2C #36442C #2C4244
square
#3A2C44 #442E2C #36442C #2C4244
split-complementary
#3A2C44 #42442C #2C442E
monochromatic
#100C13 #1A141F #3A2C44 #5A4469 #795C8E

Accessibility & contrast

On white

12.93
#3A2C44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#3A2C44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2C44
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2C44#FFFFFF#000000##FFFFFF
##3A2C441.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283145
Deuteranopia (green-blind)
#2B3243
Tritanopia (blue-blind)
#392F35
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3a2c44;
/* rgb */ color: rgb(58, 44, 68);
/* oklch */ color: oklch(31.9% 0.046 310.6);
Tailwind
colors: {
  custom: {
    50: '#706578',
    500: '#3a2c44',
    950: '#000000',
  },
}
SCSS
$custom: #3a2c44;
$custom-light: #706578;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2c44",
  "rgb": {
    "r": 58,
    "g": 44,
    "b": 68
  },
  "hsl": {
    "h": 275,
    "s": 21.429,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31945,
    "c": 0.04558,
    "h": 310.6
  },
  "luminance": 0.03118
}

Semantic roles & 50–950 ramp

primary
#3A2C44
secondary
#637557
accent
#BE6A8D
background
#F6F6F7
surface
#ECEBED
border
#C7C6C8
text
#070508
muted
#7A7A7B

Preview Lab

Preview with #3A2C44

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

Preview Lab → · Contrast checker → · Palette generator →

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