#5D2190#5D2190

#5D2190 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.0% C 0.171 H 304.1°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#5D2190
RGBrgb(93, 33, 144)
HSLhsl(272, 63%, 35%)
HSVhsv(272, 77%, 56%)
CMYKcmyk(35.4%, 77.1%, 0%, 43.5%)
CIE-LABlab(27.92, 47.44, -49.76)
CIE-LCHlch(27.92, 68.75, 313.63°)
OKLaboklab(40% 0.0959 -0.1418)
OKLCHoklch(40% 0.171 304.1)
XYZxyz(10.0909, 5.4285, 26.8963)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2190 #549021
analogous
#252190 #5D2190 #90218C
triadic
#5D2190 #905D21 #21905D
tetradic
#5D2190 #902521 #549021 #218C90
square
#5D2190 #902521 #549021 #218C90
split-complementary
#5D2190 #8C9021 #219025
monochromatic
#1D0A2C #3D165E #5D2190 #7D2CC2 #9B54D8

Accessibility & contrast

On white

10.07
#5D2190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#5D2190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2190
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2190#FFFFFF#000000##FFFFFF
##5D21901.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004193
Deuteranopia (green-blind)
#00428E
Tritanopia (blue-blind)
#533D57
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #5d2190;
/* rgb */ color: rgb(93, 33, 144);
/* oklch */ color: oklch(40.0% 0.171 304.1);
Tailwind
colors: {
  custom: {
    50: '#9063b1',
    500: '#5d2190',
    950: '#000000',
  },
}
SCSS
$custom: #5d2190;
$custom-light: #9063b1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2190",
  "rgb": {
    "r": 93,
    "g": 33,
    "b": 144
  },
  "hsl": {
    "h": 272.432,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40002,
    "c": 0.17113,
    "h": 304.1
  },
  "luminance": 0.05428
}

Semantic roles & 50–950 ramp

primary
#5D2190
secondary
#82BB51
accent
#E6428D
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5D2190

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

Preview Lab → · Contrast checker → · Palette generator →

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