#3C1886#3C1886

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

Color values

HEX#3C1886
RGBrgb(60, 24, 134)
HSLhsl(260, 70%, 31%)
HSVhsv(260, 82%, 53%)
CMYKcmyk(55.2%, 82.1%, 0%, 47.5%)
CIE-LABlab(21.34, 43.45, -54.48)
CIE-LCHlch(21.34, 69.68, 308.57°)
OKLaboklab(34.17% 0.0547 -0.1567)
OKLCHoklch(34.17% 0.166 289.2)
XYZxyz(6.4919, 3.3348, 22.8513)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1886 #628618
analogous
#182B86 #3C1886 #731886
triadic
#3C1886 #863C18 #18863C
tetradic
#3C1886 #86182B #628618 #188673
square
#3C1886 #86182B #628618 #188673
split-complementary
#3C1886 #867318 #2B8618
monochromatic
#0E051E #250F52 #3C1886 #5321BA #713CDC

Accessibility & contrast

On white

12.60
#3C1886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#3C1886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1886
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1886#FFFFFF#000000##FFFFFF
##3C18861.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003589
Deuteranopia (green-blind)
#003084
Tritanopia (blue-blind)
#1F384F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3c1886;
/* rgb */ color: rgb(60, 24, 134);
/* oklch */ color: oklch(34.2% 0.166 289.2);
Tailwind
colors: {
  custom: {
    50: '#7b5aaa',
    500: '#3c1886',
    950: '#000000',
  },
}
SCSS
$custom: #3c1886;
$custom-light: #7b5aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1886",
  "rgb": {
    "r": 60,
    "g": 24,
    "b": 134
  },
  "hsl": {
    "h": 259.636,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34169,
    "c": 0.16597,
    "h": 289.2
  },
  "luminance": 0.03335
}

Semantic roles & 50–950 ramp

primary
#3C1886
secondary
#92BA40
accent
#EC3BB2
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3C1886

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

Preview Lab → · Contrast checker → · Palette generator →

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