#3C1986#3C1986

#3C1986 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.165 H 289.1°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#3C1986
RGBrgb(60, 25, 134)
HSLhsl(259, 69%, 31%)
HSVhsv(259, 81%, 53%)
CMYKcmyk(55.2%, 81.3%, 0%, 47.5%)
CIE-LABlab(21.49, 42.99, -54.22)
CIE-LCHlch(21.49, 69.20, 308.41°)
OKLaboklab(34.28% 0.054 -0.156)
OKLCHoklch(34.28% 0.165 289.1)
XYZxyz(6.5129, 3.3768, 22.8583)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1986 #638619
analogous
#192C86 #3C1986 #721986
triadic
#3C1986 #863C19 #19863C
tetradic
#3C1986 #86192C #638619 #198672
square
#3C1986 #86192C #638619 #198672
split-complementary
#3C1986 #867219 #2C8619
monochromatic
#0E061F #250F52 #3C1986 #5323BA #713EDB

Accessibility & contrast

On white

12.53
#3C1986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C1986
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1986#FFFFFF#000000##FFFFFF
##3C19861.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c1986;
/* rgb */ color: rgb(60, 25, 134);
/* oklch */ color: oklch(34.3% 0.165 289.1);
Tailwind
colors: {
  custom: {
    50: '#7b5baa',
    500: '#3c1986',
    950: '#000000',
  },
}
SCSS
$custom: #3c1986;
$custom-light: #7b5baa;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1986",
  "rgb": {
    "r": 60,
    "g": 25,
    "b": 134
  },
  "hsl": {
    "h": 259.266,
    "s": 68.553,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34278,
    "c": 0.16504,
    "h": 289.1
  },
  "luminance": 0.03377
}

Semantic roles & 50–950 ramp

primary
#3C1986
secondary
#93BA41
accent
#EB3CB3
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3C1986

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

Preview Lab → · Contrast checker → · Palette generator →

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