#3C1E86#3C1E86

#3C1E86 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.9% C 0.160 H 288.3°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#3C1E86
RGBrgb(60, 30, 134)
HSLhsl(257, 63%, 32%)
HSVhsv(257, 78%, 53%)
CMYKcmyk(55.2%, 77.6%, 0%, 47.5%)
CIE-LABlab(22.34, 40.57, -52.83)
CIE-LCHlch(22.34, 66.61, 307.52°)
OKLaboklab(34.87% 0.0502 -0.1519)
OKLCHoklch(34.87% 0.16 288.3)
XYZxyz(6.6296, 3.6101, 22.8971)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1E86 #68861E
analogous
#1E3486 #3C1E86 #701E86
triadic
#3C1E86 #863C1E #1E863C
tetradic
#3C1E86 #861E34 #68861E #1E8670
square
#3C1E86 #861E34 #68861E #1E8670
split-complementary
#3C1E86 #86701E #34861E
monochromatic
#0F0822 #261354 #3C1E86 #5229B8 #7148D6

Accessibility & contrast

On white

12.20
#3C1E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#3C1E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1E86
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1E86#FFFFFF#000000##FFFFFF
##3C1E861.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003889
Deuteranopia (green-blind)
#003384
Tritanopia (blue-blind)
#1E3B51
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3c1e86;
/* rgb */ color: rgb(60, 30, 134);
/* oklch */ color: oklch(34.9% 0.160 288.3);
Tailwind
colors: {
  custom: {
    50: '#7b5daa',
    500: '#3c1e86',
    950: '#000000',
  },
}
SCSS
$custom: #3c1e86;
$custom-light: #7b5daa;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1e86",
  "rgb": {
    "r": 60,
    "g": 30,
    "b": 134
  },
  "hsl": {
    "h": 257.308,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.34867,
    "c": 0.16002,
    "h": 288.3
  },
  "luminance": 0.0361
}

Semantic roles & 50–950 ramp

primary
#3C1E86
secondary
#98B847
accent
#E641B7
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3C1E86

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

Preview Lab → · Contrast checker → · Palette generator →

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