#3C1E95#3C1E95

#3C1E95 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.178 H 284.9°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#3C1E95
RGBrgb(60, 30, 149)
HSLhsl(255, 66%, 35%)
HSVhsv(255, 80%, 58%)
CMYKcmyk(59.7%, 79.9%, 0%, 41.6%)
CIE-LABlab(23.86, 45.00, -59.66)
CIE-LCHlch(23.86, 74.72, 307.03°)
OKLaboklab(36.39% 0.0457 -0.1719)
OKLCHoklch(36.39% 0.178 284.9)
XYZxyz(7.7509, 4.0586, 28.8029)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1E95 #77951E
analogous
#1E3C95 #3C1E95 #771E95
triadic
#3C1E95 #953C1E #1E953C
tetradic
#3C1E95 #951E3C #77951E #1E9577
square
#3C1E95 #951E3C #77951E #1E9577
split-complementary
#3C1E95 #95771E #3C951E
monochromatic
#13092F #271462 #3C1E95 #5128C8 #7451DC

Accessibility & contrast

On white

11.59
#3C1E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#3C1E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1E95
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1E95#FFFFFF#000000##FFFFFF
##3C1E951.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C98
Deuteranopia (green-blind)
#003593
Tritanopia (blue-blind)
#074159
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3c1e95;
/* rgb */ color: rgb(60, 30, 149);
/* oklch */ color: oklch(36.4% 0.178 284.9);
Tailwind
colors: {
  custom: {
    50: '#7d5eb5',
    500: '#3c1e95',
    950: '#000000',
  },
}
SCSS
$custom: #3c1e95;
$custom-light: #7d5eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1e95",
  "rgb": {
    "r": 60,
    "g": 30,
    "b": 149
  },
  "hsl": {
    "h": 255.126,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36394,
    "c": 0.17787,
    "h": 284.9
  },
  "luminance": 0.04059
}

Semantic roles & 50–950 ramp

primary
#3C1E95
secondary
#A3BF50
accent
#E93EBE
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3C1E95

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

Preview Lab → · Contrast checker → · Palette generator →

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