#3C1580#3C1580

#3C1580 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.162 H 291.3°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#3C1580
RGBrgb(60, 21, 128)
HSLhsl(262, 72%, 29%)
HSVhsv(262, 84%, 50%)
CMYKcmyk(53.1%, 83.6%, 0%, 49.8%)
CIE-LABlab(20.26, 43.07, -52.46)
CIE-LCHlch(20.26, 67.88, 309.39°)
OKLaboklab(33.24% 0.0589 -0.1508)
OKLCHoklch(33.24% 0.162 291.3)
XYZxyz(6.0268, 3.0553, 20.6901)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1580 #598015
analogous
#152480 #3C1580 #721580
triadic
#3C1580 #803C15 #15803C
tetradic
#3C1580 #801524 #598015 #158072
square
#3C1580 #801524 #598015 #158072
split-complementary
#3C1580 #807215 #248015
monochromatic
#0C041A #230C4B #3C1580 #551EB5 #7032DD

Accessibility & contrast

On white

13.03
#3C1580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#3C1580 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1580
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1580#FFFFFF#000000##FFFFFF
##3C15801.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003283
Deuteranopia (green-blind)
#002F7E
Tritanopia (blue-blind)
#24354B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3c1580;
/* rgb */ color: rgb(60, 21, 128);
/* oklch */ color: oklch(33.2% 0.162 291.3);
Tailwind
colors: {
  custom: {
    50: '#7a59a6',
    500: '#3c1580',
    950: '#000000',
  },
}
SCSS
$custom: #3c1580;
$custom-light: #7a59a6;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1580",
  "rgb": {
    "r": 60,
    "g": 21,
    "b": 128
  },
  "hsl": {
    "h": 261.869,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33238,
    "c": 0.16185,
    "h": 291.3
  },
  "luminance": 0.03056
}

Semantic roles & 50–950 ramp

primary
#3C1580
secondary
#89B53C
accent
#EF39AC
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3C1580

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

Preview Lab → · Contrast checker → · Palette generator →

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