#3A2C40#3A2C40

#3A2C40 is a dark, muted purple. Relative luminance 0.031; OKLCH L 31.7% C 0.040 H 315.6°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#3A2C40
RGBrgb(58, 44, 64)
HSLhsl(282, 19%, 21%)
HSVhsv(282, 31%, 25%)
CMYKcmyk(9.4%, 31.2%, 0%, 74.9%)
CIE-LABlab(20.33, 10.88, -10.18)
CIE-LCHlch(20.33, 14.90, 316.91°)
OKLaboklab(31.74% 0.0283 -0.0277)
OKLCHoklch(31.74% 0.04 315.6)
XYZxyz(3.5709, 3.0711, 5.2542)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2C40 #32402C
analogous
#302C40 #3A2C40 #402C3C
triadic
#3A2C40 #403A2C #2C403A
tetradic
#3A2C40 #40302C #32402C #2C3C40
square
#3A2C40 #40302C #32402C #2C3C40
split-complementary
#3A2C40 #3C402C #2C4030
monochromatic
#100C12 #19131C #3A2C40 #5B4564 #7C5E89

Accessibility & contrast

On white

13.01
#3A2C40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#3A2C40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2C40
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2C40#FFFFFF#000000##FFFFFF
##3A2C401.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293041
Deuteranopia (green-blind)
#2C313F
Tritanopia (blue-blind)
#3A2E33
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3a2c40;
/* rgb */ color: rgb(58, 44, 64);
/* oklch */ color: oklch(31.7% 0.040 315.6);
Tailwind
colors: {
  custom: {
    50: '#706574',
    500: '#3a2c40',
    950: '#000000',
  },
}
SCSS
$custom: #3a2c40;
$custom-light: #706574;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2c40",
  "rgb": {
    "r": 58,
    "g": 44,
    "b": 64
  },
  "hsl": {
    "h": 282,
    "s": 18.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31742,
    "c": 0.0396,
    "h": 315.6
  },
  "luminance": 0.03071
}

Semantic roles & 50–950 ramp

primary
#3A2C40
secondary
#5F7157
accent
#BB6D84
background
#F6F6F7
surface
#ECEBED
border
#C7C6C8
text
#070508
muted
#7A7A7B

Preview Lab

Preview with #3A2C40

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

Preview Lab → · Contrast checker → · Palette generator →

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