#3C15A1#3C15A1

#3C15A1 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.8% C 0.199 H 283.5°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#3C15A1
RGBrgb(60, 21, 161)
HSLhsl(257, 77%, 36%)
HSVhsv(257, 87%, 63%)
CMYKcmyk(62.7%, 87%, 0%, 36.9%)
CIE-LABlab(23.90, 52.16, -66.95)
CIE-LCHlch(23.90, 84.87, 307.92°)
OKLaboklab(36.81% 0.0463 -0.193)
OKLCHoklch(36.81% 0.199 283.5)
XYZxyz(8.5627, 4.0696, 34.0456)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C15A1 #7AA115
analogous
#1534A1 #3C15A1 #8215A1
triadic
#3C15A1 #A13C15 #15A13C
tetradic
#3C15A1 #A11534 #7AA115 #15A182
square
#3C15A1 #A11534 #7AA115 #15A182
split-complementary
#3C15A1 #A18215 #34A115
monochromatic
#140735 #280E6B #3C15A1 #501CD7 #7549E7

Accessibility & contrast

On white

11.58
#3C15A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C15A1
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C15A1#FFFFFF#000000##FFFFFF
##3C15A11.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c15a1;
/* rgb */ color: rgb(60, 21, 161);
/* oklch */ color: oklch(36.8% 0.199 283.5);
Tailwind
colors: {
  custom: {
    50: '#805bbe',
    500: '#3c15a1',
    950: '#000000',
  },
}
SCSS
$custom: #3c15a1;
$custom-light: #805bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3c15a1",
  "rgb": {
    "r": 60,
    "g": 21,
    "b": 161
  },
  "hsl": {
    "h": 256.714,
    "s": 76.923,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36809,
    "c": 0.19851,
    "h": 283.5
  },
  "luminance": 0.0407
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3C15A1

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

Preview Lab → · Contrast checker → · Palette generator →

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