#5D2599#5D2599

#5D2599 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.2% C 0.176 H 300.7°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#5D2599
RGBrgb(93, 37, 153)
HSLhsl(269, 61%, 37%)
HSVhsv(269, 76%, 60%)
CMYKcmyk(39.2%, 75.8%, 0%, 40%)
CIE-LABlab(29.29, 47.90, -53.07)
CIE-LCHlch(29.29, 71.49, 312.07°)
OKLaboklab(41.2% 0.09 -0.1515)
OKLCHoklch(41.2% 0.176 300.7)
XYZxyz(10.9241, 5.9501, 30.7038)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2599 #619925
analogous
#252799 #5D2599 #972599
triadic
#5D2599 #995D25 #25995D
tetradic
#5D2599 #992527 #619925 #259997
square
#5D2599 #992527 #619925 #259997
split-complementary
#5D2599 #999725 #279925
monochromatic
#210D36 #3F1968 #5D2599 #7B31CA #9A60D9

Accessibility & contrast

On white

9.59
#5D2599 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#5D2599 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2599
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2599#FFFFFF#000000##FFFFFF
##5D25991.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#004497
Tritanopia (blue-blind)
#4F435D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5d2599;
/* rgb */ color: rgb(93, 37, 153);
/* oklch */ color: oklch(41.2% 0.176 300.7);
Tailwind
colors: {
  custom: {
    50: '#9165b8',
    500: '#5d2599',
    950: '#000000',
  },
}
SCSS
$custom: #5d2599;
$custom-light: #9165b8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2599",
  "rgb": {
    "r": 93,
    "g": 37,
    "b": 153
  },
  "hsl": {
    "h": 268.966,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41195,
    "c": 0.17623,
    "h": 300.7
  },
  "luminance": 0.0595
}

Semantic roles & 50–950 ramp

primary
#5D2599
secondary
#8FBE5C
accent
#E44497
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5D2599

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

Preview Lab → · Contrast checker → · Palette generator →

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