#5D35CC#5D35CC

#5D35CC is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.6% C 0.216 H 287.2°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#5D35CC
RGBrgb(93, 53, 204)
HSLhsl(256, 60%, 50%)
HSVhsv(256, 74%, 80%)
CMYKcmyk(54.4%, 74%, 0%, 20%)
CIE-LABlab(36.43, 53.97, -71.75)
CIE-LCHlch(36.43, 89.78, 306.95°)
OKLaboklab(47.6% 0.0638 -0.2064)
OKLCHoklch(47.6% 0.216 287.2)
XYZxyz(16.6831, 9.2321, 58.0179)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D35CC #A4CC35
analogous
#3558CC #5D35CC #A835CC
triadic
#5D35CC #CC5D35 #35CC5D
tetradic
#5D35CC #CC3558 #A4CC35 #35CCA8
square
#5D35CC #CC3558 #A4CC35 #35CCA8
split-complementary
#5D35CC #CCA835 #58CC35
monochromatic
#301B6B #46279C #5D35CC #8466D8 #AB97E5

Accessibility & contrast

On white

7.38
#5D35CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#5D35CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D35CC
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D35CC#FFFFFF#000000##FFFFFF
##5D35CC1.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D0
Deuteranopia (green-blind)
#0051C9
Tritanopia (blue-blind)
#2D5F7E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5d35cc;
/* rgb */ color: rgb(93, 53, 204);
/* oklch */ color: oklch(47.6% 0.216 287.2);
Tailwind
colors: {
  custom: {
    50: '#9671dd',
    500: '#5d35cc',
    950: '#000000',
  },
}
SCSS
$custom: #5d35cc;
$custom-light: #9671dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d35cc",
  "rgb": {
    "r": 93,
    "g": 53,
    "b": 204
  },
  "hsl": {
    "h": 255.894,
    "s": 59.684,
    "l": 50.392
  },
  "oklch": {
    "l": 0.47599,
    "c": 0.21607,
    "h": 287.2
  },
  "luminance": 0.09233
}

Semantic roles & 50–950 ramp

primary
#5D35CC
secondary
#BED08D
accent
#E345B9
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5D35CC

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

Preview Lab → · Contrast checker → · Palette generator →

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