#5D2699#5D2699

#5D2699 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.3% C 0.175 H 300.6°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#5D2699
RGBrgb(93, 38, 153)
HSLhsl(269, 60%, 37%)
HSVhsv(269, 75%, 60%)
CMYKcmyk(39.2%, 75.2%, 0%, 40%)
CIE-LABlab(29.45, 47.45, -52.81)
CIE-LCHlch(29.45, 71.00, 311.94°)
OKLaboklab(41.31% 0.0891 -0.1508)
OKLCHoklch(41.31% 0.175 300.6)
XYZxyz(10.9557, 6.0132, 30.7143)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2699 #629926
analogous
#262899 #5D2699 #972699
triadic
#5D2699 #995D26 #26995D
tetradic
#5D2699 #992628 #629926 #269997
square
#5D2699 #992628 #629926 #269997
split-complementary
#5D2699 #999726 #289926
monochromatic
#210E37 #3F1A68 #5D2699 #7B32CA #9A62D8

Accessibility & contrast

On white

9.53
#5D2699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#5D2699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2699
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2699#FFFFFF#000000##FFFFFF
##5D26991.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d2699;
/* rgb */ color: rgb(93, 38, 153);
/* oklch */ color: oklch(41.3% 0.175 300.6);
Tailwind
colors: {
  custom: {
    50: '#9166b8',
    500: '#5d2699',
    950: '#000000',
  },
}
SCSS
$custom: #5d2699;
$custom-light: #9166b8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2699",
  "rgb": {
    "r": 93,
    "g": 38,
    "b": 153
  },
  "hsl": {
    "h": 268.696,
    "s": 60.209,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41308,
    "c": 0.1751,
    "h": 300.6
  },
  "luminance": 0.06013
}

Semantic roles & 50–950 ramp

primary
#5D2699
secondary
#8FBD5E
accent
#E34497
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5D2699

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

Preview Lab → · Contrast checker → · Palette generator →

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