#5D35D0#5D35D0

#5D35D0 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.0% C 0.221 H 286.6°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#5D35D0
RGBrgb(93, 53, 208)
HSLhsl(255, 62%, 51%)
HSVhsv(255, 75%, 82%)
CMYKcmyk(55.3%, 74.5%, 0%, 18.4%)
CIE-LABlab(36.79, 55.09, -73.47)
CIE-LCHlch(36.79, 91.83, 306.86°)
OKLaboklab(47.97% 0.0629 -0.2115)
OKLCHoklch(47.97% 0.221 286.6)
XYZxyz(17.1691, 9.4265, 60.5771)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D35D0 #A8D035
analogous
#355AD0 #5D35D0 #AA35D0
triadic
#5D35D0 #D05D35 #35D05D
tetradic
#5D35D0 #D0355A #A8D035 #35D0AA
square
#5D35D0 #D0355A #A8D035 #35D0AA
split-complementary
#5D35D0 #D0AA35 #5AD035
monochromatic
#301A70 #4626A2 #5D35D0 #8567DC #AD98E7

Accessibility & contrast

On white

7.28
#5D35D0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#5D35D0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D35D0
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D35D0#FFFFFF#000000##FFFFFF
##5D35D01.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d35d0;
/* rgb */ color: rgb(93, 53, 208);
/* oklch */ color: oklch(48.0% 0.221 286.6);
Tailwind
colors: {
  custom: {
    50: '#9771e0',
    500: '#5d35d0',
    950: '#000000',
  },
}
SCSS
$custom: #5d35d0;
$custom-light: #9771e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d35d0",
  "rgb": {
    "r": 93,
    "g": 53,
    "b": 208
  },
  "hsl": {
    "h": 255.484,
    "s": 62.249,
    "l": 51.176
  },
  "oklch": {
    "l": 0.47967,
    "c": 0.2206,
    "h": 286.6
  },
  "luminance": 0.09427
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D35D0

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

Preview Lab → · Contrast checker → · Palette generator →

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