#5D2FA9#5D2FA9

#5D2FA9 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.8% C 0.183 H 294.9°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#5D2FA9
RGBrgb(93, 47, 169)
HSLhsl(263, 56%, 42%)
HSVhsv(263, 72%, 66%)
CMYKcmyk(45%, 72.2%, 0%, 33.7%)
CIE-LABlab(32.31, 47.31, -57.83)
CIE-LCHlch(32.31, 74.71, 309.29°)
OKLaboklab(43.75% 0.077 -0.1655)
OKLCHoklch(43.75% 0.183 294.9)
XYZxyz(12.6902, 7.2244, 38.2543)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2FA9 #7BA92F
analogous
#2F3EA9 #5D2FA9 #9A2FA9
triadic
#5D2FA9 #A95D2F #2FA95D
tetradic
#5D2FA9 #A92F3E #7BA92F #2FA99A
square
#5D2FA9 #A92F3E #7BA92F #2FA99A
split-complementary
#5D2FA9 #A99A2F #3EA92F
monochromatic
#281449 #432279 #5D2FA9 #7A49CC #9D79DA

Accessibility & contrast

On white

8.59
#5D2FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#5D2FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2FA9
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2FA9#FFFFFF#000000##FFFFFF
##5D2FA91.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAD
Deuteranopia (green-blind)
#004AA7
Tritanopia (blue-blind)
#484E69
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5d2fa9;
/* rgb */ color: rgb(93, 47, 169);
/* oklch */ color: oklch(43.8% 0.183 294.9);
Tailwind
colors: {
  custom: {
    50: '#926cc4',
    500: '#5d2fa9',
    950: '#000000',
  },
}
SCSS
$custom: #5d2fa9;
$custom-light: #926cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2fa9",
  "rgb": {
    "r": 93,
    "g": 47,
    "b": 169
  },
  "hsl": {
    "h": 262.623,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.4375,
    "c": 0.18257,
    "h": 294.9
  },
  "luminance": 0.07225
}

Semantic roles & 50–950 ramp

primary
#5D2FA9
secondary
#A4C272
accent
#E048A7
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5D2FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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