#5D1990#5D1990

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

Color values

HEX#5D1990
RGBrgb(93, 25, 144)
HSLhsl(274, 70%, 33%)
HSVhsv(274, 83%, 56%)
CMYKcmyk(35.4%, 82.6%, 0%, 43.5%)
CIE-LABlab(26.84, 50.57, -51.53)
CIE-LCHlch(26.84, 72.20, 314.46°)
OKLaboklab(39.24% 0.1027 -0.1469)
OKLCHoklch(39.24% 0.179 305)
XYZxyz(9.8947, 5.0361, 26.8309)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1990 #4C9019
analogous
#221990 #5D1990 #901987
triadic
#5D1990 #905D19 #19905D
tetradic
#5D1990 #902219 #4C9019 #198790
square
#5D1990 #902219 #4C9019 #198790
split-complementary
#5D1990 #879019 #199022
monochromatic
#1A0728 #3B105C #5D1990 #7F22C4 #9D45DF

Accessibility & contrast

On white

10.46
#5D1990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#5D1990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1990
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1990#FFFFFF#000000##FFFFFF
##5D19901.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d1990;
/* rgb */ color: rgb(93, 25, 144);
/* oklch */ color: oklch(39.2% 0.179 305.0);
Tailwind
colors: {
  custom: {
    50: '#905fb1',
    500: '#5d1990',
    950: '#000000',
  },
}
SCSS
$custom: #5d1990;
$custom-light: #905fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1990",
  "rgb": {
    "r": 93,
    "g": 25,
    "b": 144
  },
  "hsl": {
    "h": 274.286,
    "s": 70.414,
    "l": 33.137
  },
  "oklch": {
    "l": 0.39243,
    "c": 0.17922,
    "h": 305
  },
  "luminance": 0.05036
}

Semantic roles & 50–950 ramp

primary
#5D1990
secondary
#7AC045
accent
#ED3B87
background
#F9F5FB
surface
#F2EAF6
border
#CCC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #5D1990

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

Preview Lab → · Contrast checker → · Palette generator →

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