#5D1E90#5D1E90

#5D1E90 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.7% C 0.174 H 304.4°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#5D1E90
RGBrgb(93, 30, 144)
HSLhsl(273, 66%, 34%)
HSVhsv(273, 79%, 56%)
CMYKcmyk(35.4%, 79.2%, 0%, 43.5%)
CIE-LABlab(27.49, 48.68, -50.47)
CIE-LCHlch(27.49, 70.12, 313.97°)
OKLaboklab(39.7% 0.0986 -0.1438)
OKLCHoklch(39.7% 0.174 304.4)
XYZxyz(10.0114, 5.2694, 26.8698)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1E90 #51901E
analogous
#241E90 #5D1E90 #901E8A
triadic
#5D1E90 #905D1E #1E905D
tetradic
#5D1E90 #90241E #51901E #1E8A90
square
#5D1E90 #90241E #51901E #1E8A90
split-complementary
#5D1E90 #8A901E #1E9024
monochromatic
#1C092B #3C135D #5D1E90 #7E29C3 #9C4EDA

Accessibility & contrast

On white

10.22
#5D1E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#5D1E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1E90
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1E90#FFFFFF#000000##FFFFFF
##5D1E901.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F93
Deuteranopia (green-blind)
#00418E
Tritanopia (blue-blind)
#533C57
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #5d1e90;
/* rgb */ color: rgb(93, 30, 144);
/* oklch */ color: oklch(39.7% 0.174 304.4);
Tailwind
colors: {
  custom: {
    50: '#9062b1',
    500: '#5d1e90',
    950: '#000000',
  },
}
SCSS
$custom: #5d1e90;
$custom-light: #9062b1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1e90",
  "rgb": {
    "r": 93,
    "g": 30,
    "b": 144
  },
  "hsl": {
    "h": 273.158,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39698,
    "c": 0.17436,
    "h": 304.4
  },
  "luminance": 0.05269
}

Semantic roles & 50–950 ramp

primary
#5D1E90
secondary
#7FBD4D
accent
#E83F8B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #5D1E90

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

Preview Lab → · Contrast checker → · Palette generator →

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