#5D35C4#5D35C4

#5D35C4 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 46.9% C 0.207 H 288.5°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#5D35C4
RGBrgb(93, 53, 196)
HSLhsl(257, 57%, 49%)
HSVhsv(257, 73%, 77%)
CMYKcmyk(52.6%, 73%, 0%, 23.1%)
CIE-LABlab(35.71, 51.73, -68.26)
CIE-LCHlch(35.71, 85.65, 307.16°)
OKLaboklab(46.87% 0.0657 -0.1962)
OKLCHoklch(46.87% 0.207 288.5)
XYZxyz(15.7482, 8.8581, 53.0938)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D35C4 #9CC435
analogous
#3555C4 #5D35C4 #A535C4
triadic
#5D35C4 #C45D35 #35C45D
tetradic
#5D35C4 #C43555 #9CC435 #35C4A5
square
#5D35C4 #C43555 #9CC435 #35C4A5
split-complementary
#5D35C4 #C4A535 #55C435
monochromatic
#2F1B64 #462894 #5D35C4 #8262D4 #A892E1

Accessibility & contrast

On white

7.58
#5D35C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#5D35C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D35C4
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D35C4#FFFFFF#000000##FFFFFF
##5D35C41.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C8
Deuteranopia (green-blind)
#0050C1
Tritanopia (blue-blind)
#355C79
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5d35c4;
/* rgb */ color: rgb(93, 53, 196);
/* oklch */ color: oklch(46.9% 0.207 288.5);
Tailwind
colors: {
  custom: {
    50: '#9570d7',
    500: '#5d35c4',
    950: '#000000',
  },
}
SCSS
$custom: #5d35c4;
$custom-light: #9570d7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d35c4",
  "rgb": {
    "r": 93,
    "g": 53,
    "b": 196
  },
  "hsl": {
    "h": 256.783,
    "s": 57.43,
    "l": 48.824
  },
  "oklch": {
    "l": 0.46873,
    "c": 0.20693,
    "h": 288.5
  },
  "luminance": 0.08859
}

Semantic roles & 50–950 ramp

primary
#5D35C4
secondary
#B9CC88
accent
#E147B6
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5D35C4

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

Preview Lab → · Contrast checker → · Palette generator →

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