#5C1590#5C1590

#5C1590 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.8% C 0.182 H 304.8°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#5C1590
RGBrgb(92, 21, 144)
HSLhsl(275, 75%, 32%)
HSVhsv(275, 85%, 56%)
CMYKcmyk(36.1%, 85.4%, 0%, 43.5%)
CIE-LABlab(26.23, 51.75, -52.53)
CIE-LCHlch(26.23, 73.73, 314.57°)
OKLaboklab(38.79% 0.1041 -0.1498)
OKLCHoklch(38.79% 0.182 304.8)
XYZxyz(9.7147, 4.8253, 26.7997)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1590 #499015
analogous
#1F1590 #5C1590 #901587
triadic
#5C1590 #905C15 #15905C
tetradic
#5C1590 #901F15 #499015 #158790
square
#5C1590 #901F15 #499015 #158790
split-complementary
#5C1590 #879015 #15901F
monochromatic
#180525 #3A0D5B #5C1590 #7E1DC5 #9D3DE3

Accessibility & contrast

On white

10.69
#5C1590 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#5C1590 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1590
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1590#FFFFFF#000000##FFFFFF
##5C15901.0010.691.9710.69
#FFFFFF10.691.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C93
Deuteranopia (green-blind)
#003E8E
Tritanopia (blue-blind)
#523855
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #5c1590;
/* rgb */ color: rgb(92, 21, 144);
/* oklch */ color: oklch(38.8% 0.182 304.8);
Tailwind
colors: {
  custom: {
    50: '#905eb1',
    500: '#5c1590',
    950: '#000000',
  },
}
SCSS
$custom: #5c1590;
$custom-light: #905eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1590",
  "rgb": {
    "r": 92,
    "g": 21,
    "b": 144
  },
  "hsl": {
    "h": 274.634,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38792,
    "c": 0.18242,
    "h": 304.8
  },
  "luminance": 0.04825
}

Semantic roles & 50–950 ramp

primary
#5C1590
secondary
#76C23E
accent
#F13785
background
#F9F5FB
surface
#F2EAF6
border
#CCC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #5C1590

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

Preview Lab → · Contrast checker → · Palette generator →

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