#5D2D93#5D2D93

#5D2D93 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.7% C 0.160 H 301.3°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#5D2D93
RGBrgb(93, 45, 147)
HSLhsl(268, 53%, 38%)
HSVhsv(268, 69%, 58%)
CMYKcmyk(36.7%, 69.4%, 0%, 42.4%)
CIE-LABlab(30.18, 42.50, -47.94)
CIE-LCHlch(30.18, 64.06, 311.56°)
OKLaboklab(41.68% 0.0829 -0.1365)
OKLCHoklch(41.68% 0.16 301.3)
XYZxyz(10.7178, 6.3105, 28.2515)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2D93 #63932D
analogous
#2D3093 #5D2D93 #902D93
triadic
#5D2D93 #935D2D #2D935D
tetradic
#5D2D93 #932D30 #63932D #2D9390
square
#5D2D93 #932D30 #63932D #2D9390
split-complementary
#5D2D93 #93902D #30932D
monochromatic
#221035 #3F1F64 #5D2D93 #7B3BC2 #9A69D1

Accessibility & contrast

On white

9.28
#5D2D93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#5D2D93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2D93
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2D93#FFFFFF#000000##FFFFFF
##5D2D931.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004696
Deuteranopia (green-blind)
#004791
Tritanopia (blue-blind)
#51455C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5d2d93;
/* rgb */ color: rgb(93, 45, 147);
/* oklch */ color: oklch(41.7% 0.160 301.3);
Tailwind
colors: {
  custom: {
    50: '#906ab3',
    500: '#5d2d93',
    950: '#000000',
  },
}
SCSS
$custom: #5d2d93;
$custom-light: #906ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2d93",
  "rgb": {
    "r": 93,
    "g": 45,
    "b": 147
  },
  "hsl": {
    "h": 268.235,
    "s": 53.125,
    "l": 37.647
  },
  "oklch": {
    "l": 0.41681,
    "c": 0.1597,
    "h": 301.3
  },
  "luminance": 0.06311
}

Semantic roles & 50–950 ramp

primary
#5D2D93
secondary
#90B864
accent
#DD4B98
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #5D2D93

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

Preview Lab → · Contrast checker → · Palette generator →

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