#3C15B4#3C15B4

#3C15B4 is a dark, highly saturated violet. Relative luminance 0.048; OKLCH L 39.0% C 0.219 H 280.2°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#3C15B4
RGBrgb(60, 21, 180)
HSLhsl(255, 79%, 39%)
HSVhsv(255, 88%, 71%)
CMYKcmyk(66.7%, 88.3%, 0%, 29.4%)
CIE-LABlab(26.13, 57.29, -74.72)
CIE-LCHlch(26.13, 94.15, 307.48°)
OKLaboklab(38.97% 0.039 -0.2156)
OKLCHoklch(38.97% 0.219 280.2)
XYZxyz(10.3672, 4.7914, 43.5497)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C15B4 #8DB415
analogous
#153EB4 #3C15B4 #8C15B4
triadic
#3C15B4 #B43C15 #15B43C
tetradic
#3C15B4 #B4153E #8DB415 #15B48C
square
#3C15B4 #B4153E #8DB415 #15B48C
split-complementary
#3C15B4 #B48C15 #3EB415
monochromatic
#170846 #2A0F7D #3C15B4 #5121E5 #7C58EC

Accessibility & contrast

On white

10.72
#3C15B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3C15B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C15B4
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C15B4#FFFFFF#000000##FFFFFF
##3C15B41.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B8
Deuteranopia (green-blind)
#0038B1
Tritanopia (blue-blind)
#004B6A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3c15b4;
/* rgb */ color: rgb(60, 21, 180);
/* oklch */ color: oklch(39.0% 0.219 280.2);
Tailwind
colors: {
  custom: {
    50: '#845dcc',
    500: '#3c15b4',
    950: '#000000',
  },
}
SCSS
$custom: #3c15b4;
$custom-light: #845dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#3c15b4",
  "rgb": {
    "r": 60,
    "g": 21,
    "b": 180
  },
  "hsl": {
    "h": 254.717,
    "s": 79.104,
    "l": 39.412
  },
  "oklch": {
    "l": 0.38972,
    "c": 0.21909,
    "h": 280.2
  },
  "luminance": 0.04792
}

Semantic roles & 50–950 ramp

primary
#3C15B4
secondary
#B1CF56
accent
#F632C6
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0D0514
muted
#7D7982

Preview Lab

Preview with #3C15B4

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

Preview Lab → · Contrast checker → · Palette generator →

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