#5D1890#5D1890

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

Color values

HEX#5D1890
RGBrgb(93, 24, 144)
HSLhsl(275, 71%, 33%)
HSVhsv(275, 83%, 56%)
CMYKcmyk(35.4%, 83.3%, 0%, 43.5%)
CIE-LABlab(26.72, 50.92, -51.73)
CIE-LCHlch(26.72, 72.58, 314.55°)
OKLaboklab(39.16% 0.1034 -0.1475)
OKLCHoklch(39.16% 0.18 305)
XYZxyz(9.8737, 4.9941, 26.8239)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1890 #4B9018
analogous
#211890 #5D1890 #901887
triadic
#5D1890 #905D18 #18905D
tetradic
#5D1890 #902118 #4B9018 #188790
square
#5D1890 #902118 #4B9018 #188790
split-complementary
#5D1890 #879018 #189021
monochromatic
#190727 #3B0F5C #5D1890 #7F21C4 #9D43E0

Accessibility & contrast

On white

10.51
#5D1890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D1890
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1890#FFFFFF#000000##FFFFFF
##5D18901.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D93
Deuteranopia (green-blind)
#003F8E
Tritanopia (blue-blind)
#533955
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #5d1890;
/* rgb */ color: rgb(93, 24, 144);
/* oklch */ color: oklch(39.2% 0.180 305.0);
Tailwind
colors: {
  custom: {
    50: '#915fb1',
    500: '#5d1890',
    950: '#000000',
  },
}
SCSS
$custom: #5d1890;
$custom-light: #915fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1890",
  "rgb": {
    "r": 93,
    "g": 24,
    "b": 144
  },
  "hsl": {
    "h": 274.5,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.3916,
    "c": 0.18012,
    "h": 305
  },
  "luminance": 0.04994
}

Semantic roles & 50–950 ramp

primary
#5D1890
secondary
#79C043
accent
#EE3A86
background
#F9F5FB
surface
#F2EAF6
border
#CCC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #5D1890

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

Preview Lab → · Contrast checker → · Palette generator →

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