#3C1996#3C1996

#3C1996 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.0% C 0.183 H 285.3°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#3C1996
RGBrgb(60, 25, 150)
HSLhsl(257, 71%, 34%)
HSVhsv(257, 83%, 59%)
CMYKcmyk(60%, 83.3%, 0%, 41.2%)
CIE-LABlab(23.19, 47.54, -61.38)
CIE-LCHlch(23.19, 77.64, 307.76°)
OKLaboklab(35.96% 0.0484 -0.1769)
OKLCHoklch(35.96% 0.183 285.3)
XYZxyz(7.7145, 3.8574, 29.1863)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1996 #739619
analogous
#193596 #3C1996 #7B1996
triadic
#3C1996 #963C19 #19963C
tetradic
#3C1996 #961935 #739619 #19967B
square
#3C1996 #961935 #739619 #19967B
split-complementary
#3C1996 #967B19 #359619
monochromatic
#12082D #271062 #3C1996 #5122CA #7349E1

Accessibility & contrast

On white

11.85
#3C1996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#3C1996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1996
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1996#FFFFFF#000000##FFFFFF
##3C19961.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B99
Deuteranopia (green-blind)
#003394
Tritanopia (blue-blind)
#054059
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3c1996;
/* rgb */ color: rgb(60, 25, 150);
/* oklch */ color: oklch(36.0% 0.183 285.3);
Tailwind
colors: {
  custom: {
    50: '#7e5cb6',
    500: '#3c1996',
    950: '#000000',
  },
}
SCSS
$custom: #3c1996;
$custom-light: #7e5cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1996",
  "rgb": {
    "r": 60,
    "g": 25,
    "b": 150
  },
  "hsl": {
    "h": 256.8,
    "s": 71.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35962,
    "c": 0.18337,
    "h": 285.3
  },
  "luminance": 0.03858
}

Semantic roles & 50–950 ramp

primary
#3C1996
secondary
#A0C249
accent
#EE3ABC
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #3C1996

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

Preview Lab → · Contrast checker → · Palette generator →

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