#3C1A86#3C1A86

#3C1A86 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.4% C 0.164 H 288.9°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#3C1A86
RGBrgb(60, 26, 134)
HSLhsl(259, 68%, 31%)
HSVhsv(259, 81%, 53%)
CMYKcmyk(55.2%, 80.6%, 0%, 47.5%)
CIE-LABlab(21.65, 42.53, -53.96)
CIE-LCHlch(21.65, 68.70, 308.25°)
OKLaboklab(34.39% 0.0533 -0.1552)
OKLCHoklch(34.39% 0.164 288.9)
XYZxyz(6.5347, 3.4204, 22.8655)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1A86 #64861A
analogous
#1A2E86 #3C1A86 #721A86
triadic
#3C1A86 #863C1A #1A863C
tetradic
#3C1A86 #861A2E #64861A #1A8672
square
#3C1A86 #861A2E #64861A #1A8672
split-complementary
#3C1A86 #86721A #2E861A
monochromatic
#0E061F #251053 #3C1A86 #5324B9 #7140DA

Accessibility & contrast

On white

12.47
#3C1A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#3C1A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1A86
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1A86#FFFFFF#000000##FFFFFF
##3C1A861.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003689
Deuteranopia (green-blind)
#003184
Tritanopia (blue-blind)
#1E3950
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3c1a86;
/* rgb */ color: rgb(60, 26, 134);
/* oklch */ color: oklch(34.4% 0.164 288.9);
Tailwind
colors: {
  custom: {
    50: '#7b5baa',
    500: '#3c1a86',
    950: '#000000',
  },
}
SCSS
$custom: #3c1a86;
$custom-light: #7b5baa;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1a86",
  "rgb": {
    "r": 60,
    "g": 26,
    "b": 134
  },
  "hsl": {
    "h": 258.889,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34389,
    "c": 0.16408,
    "h": 288.9
  },
  "luminance": 0.03421
}

Semantic roles & 50–950 ramp

primary
#3C1A86
secondary
#94B942
accent
#EA3DB4
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3C1A86

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

Preview Lab → · Contrast checker → · Palette generator →

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