#3C1CA1#3C1CA1

#3C1CA1 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.5% C 0.193 H 282.8°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#3C1CA1
RGBrgb(60, 28, 161)
HSLhsl(254, 70%, 37%)
HSVhsv(254, 83%, 63%)
CMYKcmyk(62.7%, 82.6%, 0%, 36.9%)
CIE-LABlab(24.84, 49.39, -65.40)
CIE-LCHlch(24.84, 81.95, 307.06°)
OKLaboklab(37.45% 0.043 -0.1886)
OKLCHoklch(37.45% 0.193 282.8)
XYZxyz(8.7098, 4.3638, 34.0946)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1CA1 #81A11C
analogous
#1C3FA1 #3C1CA1 #7F1CA1
triadic
#3C1CA1 #A13C1C #1CA13C
tetradic
#3C1CA1 #A11C3F #81A11C #1CA17F
square
#3C1CA1 #A11C3F #81A11C #1CA17F
split-complementary
#3C1CA1 #A17F1C #3FA11C
monochromatic
#150A39 #29136D #3C1CA1 #4F25D5 #7756E2

Accessibility & contrast

On white

11.21
#3C1CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#3C1CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1CA1
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1CA1#FFFFFF#000000##FFFFFF
##3C1CA11.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA5
Deuteranopia (green-blind)
#00369F
Tritanopia (blue-blind)
#004560
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3c1ca1;
/* rgb */ color: rgb(60, 28, 161);
/* oklch */ color: oklch(37.5% 0.193 282.8);
Tailwind
colors: {
  custom: {
    50: '#805ebe',
    500: '#3c1ca1',
    950: '#000000',
  },
}
SCSS
$custom: #3c1ca1;
$custom-light: #805ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1ca1",
  "rgb": {
    "r": 60,
    "g": 28,
    "b": 161
  },
  "hsl": {
    "h": 254.436,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37452,
    "c": 0.19346,
    "h": 282.8
  },
  "luminance": 0.04364
}

Semantic roles & 50–950 ramp

primary
#3C1CA1
secondary
#AAC554
accent
#ED3BC2
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3C1CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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