#5D2A93#5D2A93

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

Color values

HEX#5D2A93
RGBrgb(93, 42, 147)
HSLhsl(269, 56%, 37%)
HSVhsv(269, 71%, 58%)
CMYKcmyk(36.7%, 71.4%, 0%, 42.4%)
CIE-LABlab(29.64, 44.02, -48.82)
CIE-LCHlch(29.64, 65.73, 312.04°)
OKLaboklab(41.29% 0.0862 -0.1391)
OKLCHoklch(41.29% 0.164 301.8)
XYZxyz(10.6074, 6.0896, 28.2147)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2A93 #60932A
analogous
#2A2B93 #5D2A93 #922A93
triadic
#5D2A93 #935D2A #2A935D
tetradic
#5D2A93 #932A2B #60932A #2A9392
square
#5D2A93 #932A2B #60932A #2A9392
split-complementary
#5D2A93 #93922A #2B932A
monochromatic
#210F34 #3F1C63 #5D2A93 #7B38C3 #9A65D3

Accessibility & contrast

On white

9.47
#5D2A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#5D2A93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2A93
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2A93#FFFFFF#000000##FFFFFF
##5D2A931.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004596
Deuteranopia (green-blind)
#004591
Tritanopia (blue-blind)
#52435B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5d2a93;
/* rgb */ color: rgb(93, 42, 147);
/* oklch */ color: oklch(41.3% 0.164 301.8);
Tailwind
colors: {
  custom: {
    50: '#9068b3',
    500: '#5d2a93',
    950: '#000000',
  },
}
SCSS
$custom: #5d2a93;
$custom-light: #9068b3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2a93",
  "rgb": {
    "r": 93,
    "g": 42,
    "b": 147
  },
  "hsl": {
    "h": 269.143,
    "s": 55.556,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41292,
    "c": 0.16361,
    "h": 301.8
  },
  "luminance": 0.0609
}

Semantic roles & 50–950 ramp

primary
#5D2A93
secondary
#8EB960
accent
#DF4996
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5D2A93

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

Preview Lab → · Contrast checker → · Palette generator →

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