#5D2FA3#5D2FA3

#5D2FA3 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.2% C 0.176 H 296.4°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#5D2FA3
RGBrgb(93, 47, 163)
HSLhsl(264, 55%, 41%)
HSVhsv(264, 71%, 64%)
CMYKcmyk(42.9%, 71.2%, 0%, 36.1%)
CIE-LABlab(31.82, 45.70, -55.02)
CIE-LCHlch(31.82, 71.52, 309.71°)
OKLaboklab(43.24% 0.0782 -0.1573)
OKLCHoklch(43.24% 0.176 296.4)
XYZxyz(12.1398, 7.0043, 35.3556)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2FA3 #75A32F
analogous
#2F3BA3 #5D2FA3 #972FA3
triadic
#5D2FA3 #A35D2F #2FA35D
tetradic
#5D2FA3 #A32F3B #75A32F #2FA397
square
#5D2FA3 #A32F3B #75A32F #2FA397
split-complementary
#5D2FA3 #A3972F #3BA32F
monochromatic
#271444 #422173 #5D2FA3 #7A46CA #9C75D7

Accessibility & contrast

On white

8.75
#5D2FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#5D2FA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2FA3
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2FA3#FFFFFF#000000##FFFFFF
##5D2FA31.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA6
Deuteranopia (green-blind)
#0049A1
Tritanopia (blue-blind)
#4B4C65
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5d2fa3;
/* rgb */ color: rgb(93, 47, 163);
/* oklch */ color: oklch(43.2% 0.176 296.4);
Tailwind
colors: {
  custom: {
    50: '#916bbf',
    500: '#5d2fa3',
    950: '#000000',
  },
}
SCSS
$custom: #5d2fa3;
$custom-light: #916bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2fa3",
  "rgb": {
    "r": 93,
    "g": 47,
    "b": 163
  },
  "hsl": {
    "h": 263.793,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.43244,
    "c": 0.17566,
    "h": 296.4
  },
  "luminance": 0.07005
}

Semantic roles & 50–950 ramp

primary
#5D2FA3
secondary
#9FBF6F
accent
#DF49A3
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #5D2FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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