#3C1590#3C1590

#3C1590 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.9% C 0.180 H 287.1°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#3C1590
RGBrgb(60, 21, 144)
HSLhsl(259, 75%, 32%)
HSVhsv(259, 85%, 56%)
CMYKcmyk(58.3%, 85.4%, 0%, 43.5%)
CIE-LABlab(21.98, 47.50, -59.67)
CIE-LCHlch(21.98, 76.26, 308.52°)
OKLaboklab(34.93% 0.0529 -0.1718)
OKLCHoklch(34.93% 0.18 287.1)
XYZxyz(7.1642, 3.5102, 26.6802)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1590 #699015
analogous
#152C90 #3C1590 #791590
triadic
#3C1590 #903C15 #15903C
tetradic
#3C1590 #90152C #699015 #159079
square
#3C1590 #90152C #699015 #159079
split-complementary
#3C1590 #907915 #2C9015
monochromatic
#0F0525 #260D5B #3C1590 #521DC5 #713DE3

Accessibility & contrast

On white

12.34
#3C1590 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#3C1590 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1590
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1590#FFFFFF#000000##FFFFFF
##3C15901.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003793
Deuteranopia (green-blind)
#00318E
Tritanopia (blue-blind)
#133C55
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3c1590;
/* rgb */ color: rgb(60, 21, 144);
/* oklch */ color: oklch(34.9% 0.180 287.1);
Tailwind
colors: {
  custom: {
    50: '#7d5ab2',
    500: '#3c1590',
    950: '#000000',
  },
}
SCSS
$custom: #3c1590;
$custom-light: #7d5ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1590",
  "rgb": {
    "r": 60,
    "g": 21,
    "b": 144
  },
  "hsl": {
    "h": 259.024,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34933,
    "c": 0.17978,
    "h": 287.1
  },
  "luminance": 0.03511
}

Semantic roles & 50–950 ramp

primary
#3C1590
secondary
#99C23E
accent
#F137B6
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #3C1590

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

Preview Lab → · Contrast checker → · Palette generator →

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