#3C1E91#3C1E91

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

Color values

HEX#3C1E91
RGBrgb(60, 30, 145)
HSLhsl(256, 66%, 34%)
HSVhsv(256, 79%, 57%)
CMYKcmyk(58.6%, 79.3%, 0%, 43.1%)
CIE-LABlab(23.45, 43.82, -57.87)
CIE-LCHlch(23.45, 72.59, 307.13°)
OKLaboklab(35.98% 0.047 -0.1667)
OKLCHoklch(35.98% 0.173 285.7)
XYZxyz(7.4370, 3.9331, 27.1499)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1E91 #73911E
analogous
#1E3A91 #3C1E91 #761E91
triadic
#3C1E91 #913C1E #1E913C
tetradic
#3C1E91 #911E3A #73911E #1E9176
square
#3C1E91 #911E3A #73911E #1E9176
split-complementary
#3C1E91 #91761E #3A911E
monochromatic
#12092C #27145E #3C1E91 #5128C4 #734FDB

Accessibility & contrast

On white

11.75
#3C1E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#3C1E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1E91
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1E91#FFFFFF#000000##FFFFFF
##3C1E911.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B94
Deuteranopia (green-blind)
#00348F
Tritanopia (blue-blind)
#103F57
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3c1e91;
/* rgb */ color: rgb(60, 30, 145);
/* oklch */ color: oklch(36.0% 0.173 285.7);
Tailwind
colors: {
  custom: {
    50: '#7d5eb2',
    500: '#3c1e91',
    950: '#000000',
  },
}
SCSS
$custom: #3c1e91;
$custom-light: #7d5eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1e91",
  "rgb": {
    "r": 60,
    "g": 30,
    "b": 145
  },
  "hsl": {
    "h": 255.652,
    "s": 65.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.3598,
    "c": 0.17316,
    "h": 285.7
  },
  "luminance": 0.03934
}

Semantic roles & 50–950 ramp

primary
#3C1E91
secondary
#A0BD4D
accent
#E93FBC
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3C1E91

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

Preview Lab → · Contrast checker → · Palette generator →

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