#5D2C90#5D2C90

#5D2C90 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.3% C 0.158 H 302.4°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#5D2C90
RGBrgb(93, 44, 144)
HSLhsl(269, 53%, 37%)
HSVhsv(269, 69%, 56%)
CMYKcmyk(35.4%, 69.4%, 0%, 43.5%)
CIE-LABlab(29.77, 42.24, -46.76)
CIE-LCHlch(29.77, 63.01, 312.09°)
OKLaboklab(41.31% 0.0845 -0.133)
OKLCHoklch(41.31% 0.158 302.4)
XYZxyz(10.4477, 6.1421, 27.0153)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2C90 #5F902C
analogous
#2C2D90 #5D2C90 #8F2C90
triadic
#5D2C90 #905D2C #2C905D
tetradic
#5D2C90 #902C2D #5F902C #2C908F
square
#5D2C90 #902C2D #5F902C #2C908F
split-complementary
#5D2C90 #908F2C #2D902C
monochromatic
#200F32 #3F1E61 #5D2C90 #7B3ABF #9A66D0

Accessibility & contrast

On white

9.42
#5D2C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#5D2C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2C90
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2C90#FFFFFF#000000##FFFFFF
##5D2C901.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004593
Deuteranopia (green-blind)
#00468E
Tritanopia (blue-blind)
#53435A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5d2c90;
/* rgb */ color: rgb(93, 44, 144);
/* oklch */ color: oklch(41.3% 0.158 302.4);
Tailwind
colors: {
  custom: {
    50: '#8f69b1',
    500: '#5d2c90',
    950: '#000000',
  },
}
SCSS
$custom: #5d2c90;
$custom-light: #8f69b1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2c90",
  "rgb": {
    "r": 93,
    "g": 44,
    "b": 144
  },
  "hsl": {
    "h": 269.4,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.41312,
    "c": 0.15757,
    "h": 302.4
  },
  "luminance": 0.06142
}

Semantic roles & 50–950 ramp

primary
#5D2C90
secondary
#8DB761
accent
#DD4B95
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5D2C90

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

Preview Lab → · Contrast checker → · Palette generator →

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