#3C1687#3C1687

#3C1687 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.1% C 0.169 H 289.2°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#3C1687
RGBrgb(60, 22, 135)
HSLhsl(260, 72%, 31%)
HSVhsv(260, 84%, 53%)
CMYKcmyk(55.6%, 83.7%, 0%, 47.1%)
CIE-LABlab(21.14, 44.60, -55.42)
CIE-LCHlch(21.14, 71.14, 308.82°)
OKLaboklab(34.07% 0.0557 -0.1594)
OKLCHoklch(34.07% 0.169 289.2)
XYZxyz(6.5223, 3.2834, 23.2071)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1687 #618716
analogous
#162887 #3C1687 #741687
triadic
#3C1687 #873C16 #16873C
tetradic
#3C1687 #871628 #618716 #168774
square
#3C1687 #871628 #618716 #168774
split-complementary
#3C1687 #877416 #288716
monochromatic
#0D051E #250D52 #3C1687 #531FBC #7139DF

Accessibility & contrast

On white

12.68
#3C1687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#3C1687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1687
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1687#FFFFFF#000000##FFFFFF
##3C16871.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358A
Deuteranopia (green-blind)
#003085
Tritanopia (blue-blind)
#1E3850
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3c1687;
/* rgb */ color: rgb(60, 22, 135);
/* oklch */ color: oklch(34.1% 0.169 289.2);
Tailwind
colors: {
  custom: {
    50: '#7b59ab',
    500: '#3c1687',
    950: '#000000',
  },
}
SCSS
$custom: #3c1687;
$custom-light: #7b59ab;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1687",
  "rgb": {
    "r": 60,
    "g": 22,
    "b": 135
  },
  "hsl": {
    "h": 260.177,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34068,
    "c": 0.16889,
    "h": 289.2
  },
  "luminance": 0.03284
}

Semantic roles & 50–950 ramp

primary
#3C1687
secondary
#91BB3E
accent
#EF39B2
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3C1687

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

Preview Lab → · Contrast checker → · Palette generator →

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