#5D2B93#5D2B93

#5D2B93 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.4% C 0.162 H 301.6°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#5D2B93
RGBrgb(93, 43, 147)
HSLhsl(269, 55%, 37%)
HSVhsv(269, 71%, 58%)
CMYKcmyk(36.7%, 70.7%, 0%, 42.4%)
CIE-LABlab(29.82, 43.52, -48.53)
CIE-LCHlch(29.82, 65.18, 311.88°)
OKLaboklab(41.42% 0.0851 -0.1382)
OKLCHoklch(41.42% 0.162 301.6)
XYZxyz(10.6433, 6.1614, 28.2267)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2B93 #61932B
analogous
#2B2D93 #5D2B93 #912B93
triadic
#5D2B93 #935D2B #2B935D
tetradic
#5D2B93 #932B2D #61932B #2B9391
square
#5D2B93 #932B2D #61932B #2B9391
split-complementary
#5D2B93 #93912B #2D932B
monochromatic
#210F34 #3F1D64 #5D2B93 #7B39C2 #9A66D2

Accessibility & contrast

On white

9.41
#5D2B93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D2B93
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2B93#FFFFFF#000000##FFFFFF
##5D2B931.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004696
Deuteranopia (green-blind)
#004691
Tritanopia (blue-blind)
#52445C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5d2b93;
/* rgb */ color: rgb(93, 43, 147);
/* oklch */ color: oklch(41.4% 0.162 301.6);
Tailwind
colors: {
  custom: {
    50: '#9068b3',
    500: '#5d2b93',
    950: '#000000',
  },
}
SCSS
$custom: #5d2b93;
$custom-light: #9068b3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2b93",
  "rgb": {
    "r": 93,
    "g": 43,
    "b": 147
  },
  "hsl": {
    "h": 268.846,
    "s": 54.737,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41419,
    "c": 0.16232,
    "h": 301.6
  },
  "luminance": 0.06161
}

Semantic roles & 50–950 ramp

primary
#5D2B93
secondary
#8FB961
accent
#DE4A97
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5D2B93

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

Preview Lab → · Contrast checker → · Palette generator →

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