#3C15A0#3C15A0

#3C15A0 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.7% C 0.197 H 283.7°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#3C15A0
RGBrgb(60, 21, 160)
HSLhsl(257, 77%, 35%)
HSVhsv(257, 87%, 63%)
CMYKcmyk(62.5%, 86.9%, 0%, 37.3%)
CIE-LABlab(23.79, 51.89, -66.53)
CIE-LCHlch(23.79, 84.37, 307.95°)
OKLaboklab(36.7% 0.0467 -0.1918)
OKLCHoklch(36.7% 0.197 283.7)
XYZxyz(8.4748, 4.0345, 33.5830)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C15A0 #79A015
analogous
#1533A0 #3C15A0 #8215A0
triadic
#3C15A0 #A03C15 #15A03C
tetradic
#3C15A0 #A01533 #79A015 #15A082
square
#3C15A0 #A01533 #79A015 #15A082
split-complementary
#3C15A0 #A08215 #33A015
monochromatic
#130734 #280E6A #3C15A0 #501CD6 #7548E7

Accessibility & contrast

On white

11.62
#3C15A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C15A0
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C15A0#FFFFFF#000000##FFFFFF
##3C15A01.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA4
Deuteranopia (green-blind)
#00349E
Tritanopia (blue-blind)
#00435E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3c15a0;
/* rgb */ color: rgb(60, 21, 160);
/* oklch */ color: oklch(36.7% 0.197 283.7);
Tailwind
colors: {
  custom: {
    50: '#805bbd',
    500: '#3c15a0',
    950: '#000000',
  },
}
SCSS
$custom: #3c15a0;
$custom-light: #805bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#3c15a0",
  "rgb": {
    "r": 60,
    "g": 21,
    "b": 160
  },
  "hsl": {
    "h": 256.835,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36696,
    "c": 0.19742,
    "h": 283.7
  },
  "luminance": 0.04035
}

Semantic roles & 50–950 ramp

primary
#3C15A0
secondary
#A4C849
accent
#F334BE
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0412
muted
#7D7981

Preview Lab

Preview with #3C15A0

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

Preview Lab → · Contrast checker → · Palette generator →

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