#3C1584#3C1584

#3C1584 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.7% C 0.166 H 290.2°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#3C1584
RGBrgb(60, 21, 132)
HSLhsl(261, 73%, 30%)
HSVhsv(261, 84%, 52%)
CMYKcmyk(54.5%, 84.1%, 0%, 48.2%)
CIE-LABlab(20.68, 44.18, -54.30)
CIE-LCHlch(20.68, 70.00, 309.14°)
OKLaboklab(33.65% 0.0574 -0.1561)
OKLCHoklch(33.65% 0.166 290.2)
XYZxyz(6.2953, 3.1626, 22.1041)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1584 #5D8415
analogous
#152684 #3C1584 #731584
triadic
#3C1584 #843C15 #15843C
tetradic
#3C1584 #841526 #5D8415 #158473
square
#3C1584 #841526 #5D8415 #158473
split-complementary
#3C1584 #847315 #268415
monochromatic
#0C041A #240D4F #3C1584 #541DB9 #7035DF

Accessibility & contrast

On white

12.86
#3C1584 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#3C1584 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1584
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1584#FFFFFF#000000##FFFFFF
##3C15841.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003487
Deuteranopia (green-blind)
#002F82
Tritanopia (blue-blind)
#21364E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #3c1584;
/* rgb */ color: rgb(60, 21, 132);
/* oklch */ color: oklch(33.7% 0.166 290.2);
Tailwind
colors: {
  custom: {
    50: '#7b59a9',
    500: '#3c1584',
    950: '#000000',
  },
}
SCSS
$custom: #3c1584;
$custom-light: #7b59a9;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1584",
  "rgb": {
    "r": 60,
    "g": 21,
    "b": 132
  },
  "hsl": {
    "h": 261.081,
    "s": 72.549,
    "l": 30
  },
  "oklch": {
    "l": 0.33654,
    "c": 0.16636,
    "h": 290.2
  },
  "luminance": 0.03163
}

Semantic roles & 50–950 ramp

primary
#3C1584
secondary
#8DB93C
accent
#EF39AF
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3C1584

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

Preview Lab → · Contrast checker → · Palette generator →

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