#3C2086#3C2086

#3C2086 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.1% C 0.158 H 287.9°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#3C2086
RGBrgb(60, 32, 134)
HSLhsl(256, 61%, 33%)
HSVhsv(256, 76%, 53%)
CMYKcmyk(55.2%, 76.1%, 0%, 47.5%)
CIE-LABlab(22.70, 39.53, -52.23)
CIE-LCHlch(22.70, 65.50, 307.12°)
OKLaboklab(35.13% 0.0485 -0.1502)
OKLCHoklch(35.13% 0.158 287.9)
XYZxyz(6.6818, 3.7146, 22.9145)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2086 #6A8620
analogous
#203786 #3C2086 #6F2086
triadic
#3C2086 #863C20 #20863C
tetradic
#3C2086 #862037 #6A8620 #20866F
square
#3C2086 #862037 #6A8620 #20866F
split-complementary
#3C2086 #866F20 #378620
monochromatic
#100823 #261455 #3C2086 #522CB7 #714CD4

Accessibility & contrast

On white

12.05
#3C2086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#3C2086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2086
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2086#FFFFFF#000000##FFFFFF
##3C20861.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003889
Deuteranopia (green-blind)
#003384
Tritanopia (blue-blind)
#1E3C51
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3c2086;
/* rgb */ color: rgb(60, 32, 134);
/* oklch */ color: oklch(35.1% 0.158 287.9);
Tailwind
colors: {
  custom: {
    50: '#7a5faa',
    500: '#3c2086',
    950: '#000000',
  },
}
SCSS
$custom: #3c2086;
$custom-light: #7a5faa;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2086",
  "rgb": {
    "r": 60,
    "g": 32,
    "b": 134
  },
  "hsl": {
    "h": 256.471,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35125,
    "c": 0.15785,
    "h": 287.9
  },
  "luminance": 0.03715
}

Semantic roles & 50–950 ramp

primary
#3C2086
secondary
#99B74B
accent
#E543B8
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3C2086

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

Preview Lab → · Contrast checker → · Palette generator →

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