#3C17A0#3C17A0

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

Color values

HEX#3C17A0
RGBrgb(60, 23, 160)
HSLhsl(256, 75%, 36%)
HSVhsv(256, 86%, 63%)
CMYKcmyk(62.5%, 85.6%, 0%, 37.3%)
CIE-LABlab(24.03, 51.15, -66.12)
CIE-LCHlch(24.03, 83.59, 307.72°)
OKLaboklab(36.87% 0.0458 -0.1906)
OKLCHoklch(36.87% 0.196 283.5)
XYZxyz(8.5131, 4.1109, 33.5958)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C17A0 #7BA017
analogous
#1737A0 #3C17A0 #8017A0
triadic
#3C17A0 #A03C17 #17A03C
tetradic
#3C17A0 #A01737 #7BA017 #17A080
square
#3C17A0 #A01737 #7BA017 #17A080
split-complementary
#3C17A0 #A08017 #37A017
monochromatic
#140835 #280F6A #3C17A0 #501FD6 #754CE5

Accessibility & contrast

On white

11.52
#3C17A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C17A0
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C17A0#FFFFFF#000000##FFFFFF
##3C17A01.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c17a0;
/* rgb */ color: rgb(60, 23, 160);
/* oklch */ color: oklch(36.9% 0.196 283.5);
Tailwind
colors: {
  custom: {
    50: '#805cbd',
    500: '#3c17a0',
    950: '#000000',
  },
}
SCSS
$custom: #3c17a0;
$custom-light: #805cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#3c17a0",
  "rgb": {
    "r": 60,
    "g": 23,
    "b": 160
  },
  "hsl": {
    "h": 256.204,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36867,
    "c": 0.19607,
    "h": 283.5
  },
  "luminance": 0.04112
}

Semantic roles & 50–950 ramp

primary
#3C17A0
secondary
#A6C74C
accent
#F136BF
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0412
muted
#7D7981

Preview Lab

Preview with #3C17A0

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

Preview Lab → · Contrast checker → · Palette generator →

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