#3C1E96#3C1E96

#3C1E96 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.179 H 284.7°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#3C1E96
RGBrgb(60, 30, 150)
HSLhsl(255, 67%, 35%)
HSVhsv(255, 80%, 59%)
CMYKcmyk(60%, 80%, 0%, 41.2%)
CIE-LABlab(23.97, 45.29, -60.10)
CIE-LCHlch(23.97, 75.25, 307.00°)
OKLaboklab(36.5% 0.0454 -0.1732)
OKLCHoklch(36.5% 0.179 284.7)
XYZxyz(7.8311, 4.0907, 29.2252)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1E96 #78961E
analogous
#1E3C96 #3C1E96 #781E96
triadic
#3C1E96 #963C1E #1E963C
tetradic
#3C1E96 #961E3C #78961E #1E9678
square
#3C1E96 #961E3C #78961E #1E9678
split-complementary
#3C1E96 #96781E #3C961E
monochromatic
#130A30 #281463 #3C1E96 #5028C9 #7552DC

Accessibility & contrast

On white

11.55
#3C1E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#3C1E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1E96
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1E96#FFFFFF#000000##FFFFFF
##3C1E961.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C99
Deuteranopia (green-blind)
#003594
Tritanopia (blue-blind)
#04415A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3c1e96;
/* rgb */ color: rgb(60, 30, 150);
/* oklch */ color: oklch(36.5% 0.179 284.7);
Tailwind
colors: {
  custom: {
    50: '#7d5eb6',
    500: '#3c1e96',
    950: '#000000',
  },
}
SCSS
$custom: #3c1e96;
$custom-light: #7d5eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1e96",
  "rgb": {
    "r": 60,
    "g": 30,
    "b": 150
  },
  "hsl": {
    "h": 255,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36498,
    "c": 0.17904,
    "h": 284.7
  },
  "luminance": 0.04091
}

Semantic roles & 50–950 ramp

primary
#3C1E96
secondary
#A4BF50
accent
#EA3EBF
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3C1E96

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

Preview Lab → · Contrast checker → · Palette generator →

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