#5D2499#5D2499

#5D2499 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.1% C 0.177 H 300.8°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#5D2499
RGBrgb(93, 36, 153)
HSLhsl(269, 62%, 37%)
HSVhsv(269, 76%, 60%)
CMYKcmyk(39.2%, 76.5%, 0%, 40%)
CIE-LABlab(29.13, 48.35, -53.33)
CIE-LCHlch(29.13, 71.98, 312.20°)
OKLaboklab(41.09% 0.0909 -0.1523)
OKLCHoklch(41.09% 0.177 300.8)
XYZxyz(10.8934, 5.8887, 30.6935)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2499 #609924
analogous
#242599 #5D2499 #982499
triadic
#5D2499 #995D24 #24995D
tetradic
#5D2499 #992425 #609924 #249998
square
#5D2499 #992425 #609924 #249998
split-complementary
#5D2499 #999824 #259924
monochromatic
#210D36 #3F1867 #5D2499 #7B30CB #9A5ED9

Accessibility & contrast

On white

9.64
#5D2499 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#5D2499 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2499
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2499#FFFFFF#000000##FFFFFF
##5D24991.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d2499;
/* rgb */ color: rgb(93, 36, 153);
/* oklch */ color: oklch(41.1% 0.177 300.8);
Tailwind
colors: {
  custom: {
    50: '#9165b8',
    500: '#5d2499',
    950: '#000000',
  },
}
SCSS
$custom: #5d2499;
$custom-light: #9165b8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2499",
  "rgb": {
    "r": 93,
    "g": 36,
    "b": 153
  },
  "hsl": {
    "h": 269.231,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41085,
    "c": 0.17734,
    "h": 300.8
  },
  "luminance": 0.05889
}

Semantic roles & 50–950 ramp

primary
#5D2499
secondary
#8EBE5B
accent
#E54396
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5D2499

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

Preview Lab → · Contrast checker → · Palette generator →

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