#3C1A96#3C1A96

#3C1A96 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.1% C 0.183 H 285.2°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#3C1A96
RGBrgb(60, 26, 150)
HSLhsl(256, 70%, 35%)
HSVhsv(256, 83%, 59%)
CMYKcmyk(60%, 82.7%, 0%, 41.2%)
CIE-LABlab(23.34, 47.11, -61.14)
CIE-LCHlch(23.34, 77.18, 307.62°)
OKLaboklab(36.06% 0.0479 -0.1762)
OKLCHoklch(36.06% 0.183 285.2)
XYZxyz(7.7362, 3.9010, 29.1936)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1A96 #74961A
analogous
#1A3696 #3C1A96 #7A1A96
triadic
#3C1A96 #963C1A #1A963C
tetradic
#3C1A96 #961A36 #74961A #1A967A
square
#3C1A96 #961A36 #74961A #1A967A
split-complementary
#3C1A96 #967A1A #36961A
monochromatic
#12082E #271162 #3C1A96 #5123CA #744BE0

Accessibility & contrast

On white

11.80
#3C1A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#3C1A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1A96
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1A96#FFFFFF#000000##FFFFFF
##3C1A961.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B99
Deuteranopia (green-blind)
#003494
Tritanopia (blue-blind)
#054059
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3c1a96;
/* rgb */ color: rgb(60, 26, 150);
/* oklch */ color: oklch(36.1% 0.183 285.2);
Tailwind
colors: {
  custom: {
    50: '#7e5cb6',
    500: '#3c1a96',
    950: '#000000',
  },
}
SCSS
$custom: #3c1a96;
$custom-light: #7e5cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1a96",
  "rgb": {
    "r": 60,
    "g": 26,
    "b": 150
  },
  "hsl": {
    "h": 256.452,
    "s": 70.455,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36063,
    "c": 0.18255,
    "h": 285.2
  },
  "luminance": 0.03901
}

Semantic roles & 50–950 ramp

primary
#3C1A96
secondary
#A1C24A
accent
#ED3BBC
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #3C1A96

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

Preview Lab → · Contrast checker → · Palette generator →

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