#3A2C42#3A2C42

#3A2C42 is a dark, muted violet. Relative luminance 0.031; OKLCH L 31.8% C 0.043 H 312.9°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#3A2C42
RGBrgb(58, 44, 66)
HSLhsl(278, 20%, 22%)
HSVhsv(278, 33%, 26%)
CMYKcmyk(12.1%, 33.3%, 0%, 74.1%)
CIE-LABlab(20.42, 11.39, -11.41)
CIE-LCHlch(20.42, 16.12, 314.96°)
OKLaboklab(31.84% 0.029 -0.0312)
OKLCHoklch(31.84% 0.043 312.9)
XYZxyz(3.6288, 3.0943, 5.5593)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2C42 #34422C
analogous
#2F2C42 #3A2C42 #422C3F
triadic
#3A2C42 #423A2C #2C423A
tetradic
#3A2C42 #422F2C #34422C #2C3F42
square
#3A2C42 #422F2C #34422C #2C3F42
split-complementary
#3A2C42 #3F422C #2C422F
monochromatic
#100C12 #1A141D #3A2C42 #5A4467 #7B5D8B

Accessibility & contrast

On white

12.97
#3A2C42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A2C42
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2C42#FFFFFF#000000##FFFFFF
##3A2C421.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293043
Deuteranopia (green-blind)
#2C3241
Tritanopia (blue-blind)
#392F34
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3a2c42;
/* rgb */ color: rgb(58, 44, 66);
/* oklch */ color: oklch(31.8% 0.043 312.9);
Tailwind
colors: {
  custom: {
    50: '#706576',
    500: '#3a2c42',
    950: '#000000',
  },
}
SCSS
$custom: #3a2c42;
$custom-light: #706576;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2c42",
  "rgb": {
    "r": 58,
    "g": 44,
    "b": 66
  },
  "hsl": {
    "h": 278.182,
    "s": 20,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31842,
    "c": 0.04256,
    "h": 312.9
  },
  "luminance": 0.03094
}

Semantic roles & 50–950 ramp

primary
#3A2C42
secondary
#617357
accent
#BD6B89
background
#F6F6F7
surface
#ECEBED
border
#C7C6C8
text
#070508
muted
#7A7A7B

Preview Lab

Preview with #3A2C42

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

Preview Lab → · Contrast checker → · Palette generator →

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