#3C19A1#3C19A1

#3C19A1 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 37.2% C 0.196 H 283.1°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#3C19A1
RGBrgb(60, 25, 161)
HSLhsl(255, 73%, 36%)
HSVhsv(255, 84%, 63%)
CMYKcmyk(62.7%, 84.5%, 0%, 36.9%)
CIE-LABlab(24.41, 50.64, -66.10)
CIE-LCHlch(24.41, 83.27, 307.45°)
OKLaboklab(37.16% 0.0445 -0.1906)
OKLCHoklch(37.16% 0.196 283.1)
XYZxyz(8.6421, 4.2285, 34.0721)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C19A1 #7EA119
analogous
#193AA1 #3C19A1 #8019A1
triadic
#3C19A1 #A13C19 #19A13C
tetradic
#3C19A1 #A1193A #7EA119 #19A180
square
#3C19A1 #A1193A #7EA119 #19A180
split-complementary
#3C19A1 #A18019 #3AA119
monochromatic
#150937 #28116C #3C19A1 #5021D6 #7650E4

Accessibility & contrast

On white

11.38
#3C19A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#3C19A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C19A1
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C19A1#FFFFFF#000000##FFFFFF
##3C19A11.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA5
Deuteranopia (green-blind)
#00359F
Tritanopia (blue-blind)
#00445F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3c19a1;
/* rgb */ color: rgb(60, 25, 161);
/* oklch */ color: oklch(37.2% 0.196 283.1);
Tailwind
colors: {
  custom: {
    50: '#805dbe',
    500: '#3c19a1',
    950: '#000000',
  },
}
SCSS
$custom: #3c19a1;
$custom-light: #805dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3c19a1",
  "rgb": {
    "r": 60,
    "g": 25,
    "b": 161
  },
  "hsl": {
    "h": 255.441,
    "s": 73.118,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37159,
    "c": 0.19575,
    "h": 283.1
  },
  "luminance": 0.04229
}

Semantic roles & 50–950 ramp

primary
#3C19A1
secondary
#A8C64F
accent
#F038C0
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0412
muted
#7D7981

Preview Lab

Preview with #3C19A1

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

Preview Lab → · Contrast checker → · Palette generator →

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