#3C1579#3C1579

#3C1579 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.5% C 0.154 H 293.5°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#3C1579
RGBrgb(60, 21, 121)
HSLhsl(263, 70%, 28%)
HSVhsv(263, 83%, 47%)
CMYKcmyk(50.4%, 82.6%, 0%, 52.5%)
CIE-LABlab(19.55, 41.14, -49.18)
CIE-LCHlch(19.55, 64.12, 309.91°)
OKLaboklab(32.52% 0.0613 -0.1412)
OKLCHoklch(32.52% 0.154 293.5)
XYZxyz(5.5819, 2.8773, 18.3467)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1579 #527915
analogous
#152079 #3C1579 #6E1579
triadic
#3C1579 #793C15 #15793C
tetradic
#3C1579 #791520 #527915 #15796E
square
#3C1579 #791520 #527915 #15796E
split-complementary
#3C1579 #796E15 #207915
monochromatic
#0D051A #220C45 #3C1579 #561EAD #712EDB

Accessibility & contrast

On white

13.33
#3C1579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#3C1579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1579
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1579#FFFFFF#000000##FFFFFF
##3C15791.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307C
Deuteranopia (green-blind)
#002D77
Tritanopia (blue-blind)
#293247
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3c1579;
/* rgb */ color: rgb(60, 21, 121);
/* oklch */ color: oklch(32.5% 0.154 293.5);
Tailwind
colors: {
  custom: {
    50: '#7958a1',
    500: '#3c1579',
    950: '#000000',
  },
}
SCSS
$custom: #3c1579;
$custom-light: #7958a1;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1579",
  "rgb": {
    "r": 60,
    "g": 21,
    "b": 121
  },
  "hsl": {
    "h": 263.4,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32523,
    "c": 0.15392,
    "h": 293.5
  },
  "luminance": 0.02877
}

Semantic roles & 50–950 ramp

primary
#3C1579
secondary
#82AF3B
accent
#ED3BA8
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3C1579

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

Preview Lab → · Contrast checker → · Palette generator →

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