#3C2986#3C2986

#3C2986 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.4% C 0.147 H 285.9°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#3C2986
RGBrgb(60, 41, 134)
HSLhsl(252, 53%, 34%)
HSVhsv(252, 69%, 53%)
CMYKcmyk(55.2%, 69.4%, 0%, 47.5%)
CIE-LABlab(24.54, 34.44, -49.23)
CIE-LCHlch(24.54, 60.08, 304.97°)
OKLaboklab(36.43% 0.0403 -0.1414)
OKLCHoklch(36.43% 0.147 285.9)
XYZxyz(6.9582, 4.2674, 23.0067)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2986 #738629
analogous
#294586 #3C2986 #6B2986
triadic
#3C2986 #863C29 #29863C
tetradic
#3C2986 #862945 #738629 #29866B
square
#3C2986 #862945 #738629 #29866B
split-complementary
#3C2986 #866B29 #458629
monochromatic
#120C28 #271B57 #3C2986 #5137B5 #735CCD

Accessibility & contrast

On white

11.33
#3C2986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C2986
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2986#FFFFFF#000000##FFFFFF
##3C29861.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D89
Deuteranopia (green-blind)
#003784
Tritanopia (blue-blind)
#1D4154
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3c2986;
/* rgb */ color: rgb(60, 41, 134);
/* oklch */ color: oklch(36.4% 0.147 285.9);
Tailwind
colors: {
  custom: {
    50: '#7a64aa',
    500: '#3c2986',
    950: '#000000',
  },
}
SCSS
$custom: #3c2986;
$custom-light: #7a64aa;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2986",
  "rgb": {
    "r": 60,
    "g": 41,
    "b": 134
  },
  "hsl": {
    "h": 252.258,
    "s": 53.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36429,
    "c": 0.14707,
    "h": 285.9
  },
  "luminance": 0.04268
}

Semantic roles & 50–950 ramp

primary
#3C2986
secondary
#A0B358
accent
#DD4BBF
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #3C2986

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

Preview Lab → · Contrast checker → · Palette generator →

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