#3C1885#3C1885

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

Color values

HEX#3C1885
RGBrgb(60, 24, 133)
HSLhsl(260, 69%, 31%)
HSVhsv(260, 82%, 52%)
CMYKcmyk(54.9%, 82%, 0%, 47.8%)
CIE-LABlab(21.23, 43.16, -54.02)
CIE-LCHlch(21.23, 69.15, 308.62°)
OKLaboklab(34.07% 0.055 -0.1554)
OKLCHoklch(34.07% 0.165 289.5)
XYZxyz(6.4225, 3.3071, 22.4857)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1885 #618518
analogous
#182A85 #3C1885 #721885
triadic
#3C1885 #853C18 #18853C
tetradic
#3C1885 #85182A #618518 #188572
square
#3C1885 #85182A #618518 #188572
split-complementary
#3C1885 #857218 #2A8518
monochromatic
#0D051D #250F51 #3C1885 #5321B9 #713CDC

Accessibility & contrast

On white

12.64
#3C1885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C1885
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1885#FFFFFF#000000##FFFFFF
##3C18851.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003588
Deuteranopia (green-blind)
#003083
Tritanopia (blue-blind)
#20384F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3c1885;
/* rgb */ color: rgb(60, 24, 133);
/* oklch */ color: oklch(34.1% 0.165 289.5);
Tailwind
colors: {
  custom: {
    50: '#7b5aaa',
    500: '#3c1885',
    950: '#000000',
  },
}
SCSS
$custom: #3c1885;
$custom-light: #7b5aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1885",
  "rgb": {
    "r": 60,
    "g": 24,
    "b": 133
  },
  "hsl": {
    "h": 259.817,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34066,
    "c": 0.16482,
    "h": 289.5
  },
  "luminance": 0.03307
}

Semantic roles & 50–950 ramp

primary
#3C1885
secondary
#91B940
accent
#EC3CB2
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3C1885

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

Preview Lab → · Contrast checker → · Palette generator →

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