#5D2FA0#5D2FA0

#5D2FA0 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.0% C 0.172 H 297.2°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#5D2FA0
RGBrgb(93, 47, 160)
HSLhsl(264, 55%, 41%)
HSVhsv(264, 71%, 63%)
CMYKcmyk(41.9%, 70.6%, 0%, 37.3%)
CIE-LABlab(31.57, 44.89, -53.61)
CIE-LCHlch(31.57, 69.92, 309.95°)
OKLaboklab(43% 0.0787 -0.1531)
OKLCHoklch(43% 0.172 297.2)
XYZxyz(11.8742, 6.8980, 33.9567)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2FA0 #72A02F
analogous
#2F39A0 #5D2FA0 #952FA0
triadic
#5D2FA0 #A05D2F #2FA05D
tetradic
#5D2FA0 #A02F39 #72A02F #2FA095
square
#5D2FA0 #A02F39 #72A02F #2FA095
split-complementary
#5D2FA0 #A0952F #39A02F
monochromatic
#261341 #422171 #5D2FA0 #7A44C8 #9C73D6

Accessibility & contrast

On white

8.83
#5D2FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#5D2FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2FA0
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2FA0#FFFFFF#000000##FFFFFF
##5D2FA01.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA3
Deuteranopia (green-blind)
#00499E
Tritanopia (blue-blind)
#4C4B64
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5d2fa0;
/* rgb */ color: rgb(93, 47, 160);
/* oklch */ color: oklch(43.0% 0.172 297.2);
Tailwind
colors: {
  custom: {
    50: '#916bbd',
    500: '#5d2fa0',
    950: '#000000',
  },
}
SCSS
$custom: #5d2fa0;
$custom-light: #916bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2fa0",
  "rgb": {
    "r": 93,
    "g": 47,
    "b": 160
  },
  "hsl": {
    "h": 264.425,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.42995,
    "c": 0.17219,
    "h": 297.2
  },
  "luminance": 0.06898
}

Semantic roles & 50–950 ramp

primary
#5D2FA0
secondary
#9DBE6D
accent
#DE4AA2
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #5D2FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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