#5D34D0#5D34D0

#5D34D0 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.8% C 0.222 H 286.7°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#5D34D0
RGBrgb(93, 52, 208)
HSLhsl(256, 62%, 51%)
HSVhsv(256, 75%, 82%)
CMYKcmyk(55.3%, 75%, 0%, 18.4%)
CIE-LABlab(36.62, 55.57, -73.75)
CIE-LCHlch(36.62, 92.34, 307.00°)
OKLaboklab(47.85% 0.0636 -0.2123)
OKLCHoklch(47.85% 0.222 286.7)
XYZxyz(17.1240, 9.3363, 60.5620)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D34D0 #A7D034
analogous
#3459D0 #5D34D0 #AB34D0
triadic
#5D34D0 #D05D34 #34D05D
tetradic
#5D34D0 #D03459 #A7D034 #34D0AB
square
#5D34D0 #D03459 #A7D034 #34D0AB
split-complementary
#5D34D0 #D0AB34 #59D034
monochromatic
#301A70 #4625A1 #5D34D0 #8566DC #AC97E7

Accessibility & contrast

On white

7.32
#5D34D0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#5D34D0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D34D0
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D34D0#FFFFFF#000000##FFFFFF
##5D34D01.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD4
Deuteranopia (green-blind)
#0052CD
Tritanopia (blue-blind)
#296080
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5d34d0;
/* rgb */ color: rgb(93, 52, 208);
/* oklch */ color: oklch(47.8% 0.222 286.7);
Tailwind
colors: {
  custom: {
    50: '#9770e0',
    500: '#5d34d0',
    950: '#000000',
  },
}
SCSS
$custom: #5d34d0;
$custom-light: #9770e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d34d0",
  "rgb": {
    "r": 93,
    "g": 52,
    "b": 208
  },
  "hsl": {
    "h": 255.769,
    "s": 62.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.47848,
    "c": 0.22157,
    "h": 286.7
  },
  "luminance": 0.09337
}

Semantic roles & 50–950 ramp

primary
#5D34D0
secondary
#C0D28D
accent
#E542BB
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #5D34D0

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

Preview Lab → · Contrast checker → · Palette generator →

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