#3C2176#3C2176

#3C2176 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 33.8% C 0.137 H 292.0°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#3C2176
RGBrgb(60, 33, 118)
HSLhsl(259, 56%, 30%)
HSVhsv(259, 72%, 46%)
CMYKcmyk(49.2%, 72%, 0%, 53.7%)
CIE-LABlab(21.42, 34.16, -44.20)
CIE-LCHlch(21.42, 55.86, 307.70°)
OKLaboklab(33.76% 0.0512 -0.1266)
OKLCHoklch(33.76% 0.137 292)
XYZxyz(5.6764, 3.3562, 17.4847)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2176 #5B7621
analogous
#213176 #3C2176 #672176
triadic
#3C2176 #763C21 #21763C
tetradic
#3C2176 #762131 #5B7621 #217667
square
#3C2176 #762131 #5B7621 #217667
split-complementary
#3C2176 #766721 #317621
monochromatic
#0C0718 #241446 #3C2176 #542EA6 #7046CB

Accessibility & contrast

On white

12.57
#3C2176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#3C2176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2176
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2176#FFFFFF#000000##FFFFFF
##3C21761.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003579
Deuteranopia (green-blind)
#003274
Tritanopia (blue-blind)
#2A3649
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3c2176;
/* rgb */ color: rgb(60, 33, 118);
/* oklch */ color: oklch(33.8% 0.137 292.0);
Tailwind
colors: {
  custom: {
    50: '#785e9e',
    500: '#3c2176',
    950: '#000000',
  },
}
SCSS
$custom: #3c2176;
$custom-light: #785e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2176",
  "rgb": {
    "r": 60,
    "g": 33,
    "b": 118
  },
  "hsl": {
    "h": 259.059,
    "s": 56.291,
    "l": 29.608
  },
  "oklch": {
    "l": 0.33755,
    "c": 0.13659,
    "h": 292
  },
  "luminance": 0.03356
}

Semantic roles & 50–950 ramp

primary
#3C2176
secondary
#8BA94A
accent
#E048B0
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3C2176

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

Preview Lab → · Contrast checker → · Palette generator →

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