#5C1990#5C1990

#5C1990 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.1% C 0.179 H 304.4°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#5C1990
RGBrgb(92, 25, 144)
HSLhsl(274, 70%, 33%)
HSVhsv(274, 83%, 56%)
CMYKcmyk(36.1%, 82.6%, 0%, 43.5%)
CIE-LABlab(26.69, 50.40, -51.78)
CIE-LCHlch(26.69, 72.26, 314.23°)
OKLaboklab(39.11% 0.1012 -0.1477)
OKLCHoklch(39.11% 0.179 304.4)
XYZxyz(9.7941, 4.9842, 26.8262)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1990 #4D9019
analogous
#211990 #5C1990 #901988
triadic
#5C1990 #905C19 #19905C
tetradic
#5C1990 #902119 #4D9019 #198890
square
#5C1990 #902119 #4D9019 #198890
split-complementary
#5C1990 #889019 #199021
monochromatic
#190728 #3B105C #5C1990 #7D22C4 #9B45DF

Accessibility & contrast

On white

10.52
#5C1990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#5C1990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1990
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1990#FFFFFF#000000##FFFFFF
##5C19901.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E93
Deuteranopia (green-blind)
#003F8E
Tritanopia (blue-blind)
#523A56
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #5c1990;
/* rgb */ color: rgb(92, 25, 144);
/* oklch */ color: oklch(39.1% 0.179 304.4);
Tailwind
colors: {
  custom: {
    50: '#905fb1',
    500: '#5c1990',
    950: '#000000',
  },
}
SCSS
$custom: #5c1990;
$custom-light: #905fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1990",
  "rgb": {
    "r": 92,
    "g": 25,
    "b": 144
  },
  "hsl": {
    "h": 273.782,
    "s": 70.414,
    "l": 33.137
  },
  "oklch": {
    "l": 0.3911,
    "c": 0.17901,
    "h": 304.4
  },
  "luminance": 0.04984
}

Semantic roles & 50–950 ramp

primary
#5C1990
secondary
#7BC045
accent
#ED3B89
background
#F9F5FB
surface
#F2EAF6
border
#CCC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #5C1990

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

Preview Lab → · Contrast checker → · Palette generator →

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