#3C2087#3C2087

#3C2087 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.2% C 0.159 H 287.7°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#3C2087
RGBrgb(60, 32, 135)
HSLhsl(256, 62%, 33%)
HSVhsv(256, 76%, 53%)
CMYKcmyk(55.6%, 76.3%, 0%, 47.1%)
CIE-LABlab(22.80, 39.83, -52.70)
CIE-LCHlch(22.80, 66.06, 307.08°)
OKLaboklab(35.22% 0.0483 -0.1516)
OKLCHoklch(35.22% 0.159 287.7)
XYZxyz(6.7519, 3.7426, 23.2836)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2087 #6B8720
analogous
#203787 #3C2087 #702087
triadic
#3C2087 #873C20 #20873C
tetradic
#3C2087 #872037 #6B8720 #208770
square
#3C2087 #872037 #6B8720 #208770
split-complementary
#3C2087 #877020 #378720
monochromatic
#100924 #261456 #3C2087 #522CB8 #724DD5

Accessibility & contrast

On white

12.01
#3C2087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#3C2087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2087
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2087#FFFFFF#000000##FFFFFF
##3C20871.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398A
Deuteranopia (green-blind)
#003485
Tritanopia (blue-blind)
#1D3C52
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3c2087;
/* rgb */ color: rgb(60, 32, 135);
/* oklch */ color: oklch(35.2% 0.159 287.7);
Tailwind
colors: {
  custom: {
    50: '#7b5fab',
    500: '#3c2087',
    950: '#000000',
  },
}
SCSS
$custom: #3c2087;
$custom-light: #7b5fab;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2087",
  "rgb": {
    "r": 60,
    "g": 32,
    "b": 135
  },
  "hsl": {
    "h": 256.311,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.35223,
    "c": 0.15907,
    "h": 287.7
  },
  "luminance": 0.03743
}

Semantic roles & 50–950 ramp

primary
#3C2087
secondary
#9AB84B
accent
#E543B9
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3C2087

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

Preview Lab → · Contrast checker → · Palette generator →

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