#5D35CD#5D35CD

#5D35CD is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.7% C 0.217 H 287.0°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#5D35CD
RGBrgb(93, 53, 205)
HSLhsl(256, 60%, 51%)
HSVhsv(256, 74%, 80%)
CMYKcmyk(54.6%, 74.1%, 0%, 19.6%)
CIE-LABlab(36.52, 54.25, -72.18)
CIE-LCHlch(36.52, 90.30, 306.93°)
OKLaboklab(47.69% 0.0636 -0.2077)
OKLCHoklch(47.69% 0.217 287)
XYZxyz(16.8035, 9.2802, 58.6516)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D35CD #A5CD35
analogous
#3559CD #5D35CD #A935CD
triadic
#5D35CD #CD5D35 #35CD5D
tetradic
#5D35CD #CD3559 #A5CD35 #35CDA9
square
#5D35CD #CD3559 #A5CD35 #35CDA9
split-complementary
#5D35CD #CDA935 #59CD35
monochromatic
#301B6D #46279E #5D35CD #8466D9 #AC97E5

Accessibility & contrast

On white

7.35
#5D35CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#5D35CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D35CD
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D35CD#FFFFFF#000000##FFFFFF
##5D35CD1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD1
Deuteranopia (green-blind)
#0052CA
Tritanopia (blue-blind)
#2C5F7F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5d35cd;
/* rgb */ color: rgb(93, 53, 205);
/* oklch */ color: oklch(47.7% 0.217 287.0);
Tailwind
colors: {
  custom: {
    50: '#9671dd',
    500: '#5d35cd',
    950: '#000000',
  },
}
SCSS
$custom: #5d35cd;
$custom-light: #9671dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d35cd",
  "rgb": {
    "r": 93,
    "g": 53,
    "b": 205
  },
  "hsl": {
    "h": 255.789,
    "s": 60.317,
    "l": 50.588
  },
  "oklch": {
    "l": 0.4769,
    "c": 0.2172,
    "h": 287
  },
  "luminance": 0.09281
}

Semantic roles & 50–950 ramp

primary
#5D35CD
secondary
#BFD18D
accent
#E344BA
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5D35CD

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

Preview Lab → · Contrast checker → · Palette generator →

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