#5D35CA#5D35CA

#5D35CA is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.4% C 0.214 H 287.5°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#5D35CA
RGBrgb(93, 53, 202)
HSLhsl(256, 58%, 50%)
HSVhsv(256, 74%, 79%)
CMYKcmyk(54%, 73.8%, 0%, 20.8%)
CIE-LABlab(36.25, 53.41, -70.88)
CIE-LCHlch(36.25, 88.76, 307.00°)
OKLaboklab(47.42% 0.0643 -0.2039)
OKLCHoklch(47.42% 0.214 287.5)
XYZxyz(16.4448, 9.1368, 56.7627)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D35CA #A2CA35
analogous
#3558CA #5D35CA #A735CA
triadic
#5D35CA #CA5D35 #35CA5D
tetradic
#5D35CA #CA3558 #A2CA35 #35CAA7
square
#5D35CA #CA3558 #A2CA35 #35CAA7
split-complementary
#5D35CA #CAA735 #58CA35
monochromatic
#301C69 #47289A #5D35CA #8465D7 #AB96E3

Accessibility & contrast

On white

7.43
#5D35CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#5D35CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D35CA
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D35CA#FFFFFF#000000##FFFFFF
##5D35CA1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CE
Deuteranopia (green-blind)
#0051C7
Tritanopia (blue-blind)
#305E7D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5d35ca;
/* rgb */ color: rgb(93, 53, 202);
/* oklch */ color: oklch(47.4% 0.214 287.5);
Tailwind
colors: {
  custom: {
    50: '#9670db',
    500: '#5d35ca',
    950: '#000000',
  },
}
SCSS
$custom: #5d35ca;
$custom-light: #9670db;
$custom-dark: #000000;
JSON
{
  "hex": "#5d35ca",
  "rgb": {
    "r": 93,
    "g": 53,
    "b": 202
  },
  "hsl": {
    "h": 256.107,
    "s": 58.431,
    "l": 50
  },
  "oklch": {
    "l": 0.47416,
    "c": 0.21379,
    "h": 287.5
  },
  "luminance": 0.09138
}

Semantic roles & 50–950 ramp

primary
#5D35CA
secondary
#BDCF8C
accent
#E246B8
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5D35CA

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

Preview Lab → · Contrast checker → · Palette generator →

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