#5D35C9#5D35C9

#5D35C9 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.3% C 0.213 H 287.7°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#5D35C9
RGBrgb(93, 53, 201)
HSLhsl(256, 58%, 50%)
HSVhsv(256, 74%, 79%)
CMYKcmyk(53.7%, 73.6%, 0%, 21.2%)
CIE-LABlab(36.16, 53.13, -70.45)
CIE-LCHlch(36.16, 88.24, 307.02°)
OKLaboklab(47.33% 0.0646 -0.2026)
OKLCHoklch(47.33% 0.213 287.7)
XYZxyz(16.3268, 9.0896, 56.1412)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D35C9 #A1C935
analogous
#3557C9 #5D35C9 #A735C9
triadic
#5D35C9 #C95D35 #35C95D
tetradic
#5D35C9 #C93557 #A1C935 #35C9A7
square
#5D35C9 #C93557 #A1C935 #35C9A7
split-complementary
#5D35C9 #C9A735 #57C935
monochromatic
#301B68 #472899 #5D35C9 #8465D6 #AA95E3

Accessibility & contrast

On white

7.45
#5D35C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#5D35C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D35C9
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D35C9#FFFFFF#000000##FFFFFF
##5D35C91.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CD
Deuteranopia (green-blind)
#0051C6
Tritanopia (blue-blind)
#315E7C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5d35c9;
/* rgb */ color: rgb(93, 53, 201);
/* oklch */ color: oklch(47.3% 0.213 287.7);
Tailwind
colors: {
  custom: {
    50: '#9670db',
    500: '#5d35c9',
    950: '#000000',
  },
}
SCSS
$custom: #5d35c9;
$custom-light: #9670db;
$custom-dark: #000000;
JSON
{
  "hex": "#5d35c9",
  "rgb": {
    "r": 93,
    "g": 53,
    "b": 201
  },
  "hsl": {
    "h": 256.216,
    "s": 58.268,
    "l": 49.804
  },
  "oklch": {
    "l": 0.47325,
    "c": 0.21266,
    "h": 287.7
  },
  "luminance": 0.0909
}

Semantic roles & 50–950 ramp

primary
#5D35C9
secondary
#BCCE8B
accent
#E146B8
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5D35C9

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

Preview Lab → · Contrast checker → · Palette generator →

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