#3C2F4A#3C2F4A

#3C2F4A is a dark, muted violet. Relative luminance 0.035; OKLCH L 33.2% C 0.049 H 305.9°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#3C2F4A
RGBrgb(60, 47, 74)
HSLhsl(269, 22%, 24%)
HSVhsv(269, 36%, 29%)
CMYKcmyk(18.9%, 36.5%, 0%, 71%)
CIE-LABlab(21.90, 12.21, -14.52)
CIE-LCHlch(21.90, 18.97, 310.07°)
OKLaboklab(33.16% 0.029 -0.04)
OKLCHoklch(33.16% 0.049 305.9)
XYZxyz(4.1158, 3.4881, 6.9337)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2F4A #3D4A2F
analogous
#2F2F4A #3C2F4A #492F4A
triadic
#3C2F4A #4A3C2F #2F4A3C
tetradic
#3C2F4A #4A2F2F #3D4A2F #2F4A49
square
#3C2F4A #4A2F2F #3D4A2F #2F4A49
split-complementary
#3C2F4A #4A492F #2F4A2F
monochromatic
#0F0C13 #1E1725 #3C2F4A #5A476F #795F95

Accessibility & contrast

On white

12.37
#3C2F4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#3C2F4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2F4A
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2F4A#FFFFFF#000000##FFFFFF
##3C2F4A1.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A344B
Deuteranopia (green-blind)
#2C3549
Tritanopia (blue-blind)
#3A3339
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3c2f4a;
/* rgb */ color: rgb(60, 47, 74);
/* oklch */ color: oklch(33.2% 0.049 305.9);
Tailwind
colors: {
  custom: {
    50: '#72677c',
    500: '#3c2f4a',
    950: '#000000',
  },
}
SCSS
$custom: #3c2f4a;
$custom-light: #72677c;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2f4a",
  "rgb": {
    "r": 60,
    "g": 47,
    "b": 74
  },
  "hsl": {
    "h": 268.889,
    "s": 22.314,
    "l": 23.725
  },
  "oklch": {
    "l": 0.33155,
    "c": 0.04939,
    "h": 305.9
  },
  "luminance": 0.03488
}

Semantic roles & 50–950 ramp

primary
#3C2F4A
secondary
#6B7B5A
accent
#BF6995
background
#F6F6F7
surface
#ECEBEE
border
#C7C6C9
text
#080609
muted
#7B7A7B

Preview Lab

Preview with #3C2F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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