#5E35C3#5E35C3

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

Color values

HEX#5E35C3
RGBrgb(94, 53, 195)
HSLhsl(257, 57%, 49%)
HSVhsv(257, 73%, 76%)
CMYKcmyk(51.8%, 72.8%, 0%, 23.5%)
CIE-LABlab(35.72, 51.61, -67.65)
CIE-LCHlch(35.72, 85.09, 307.34°)
OKLaboklab(46.88% 0.0674 -0.1944)
OKLCHoklch(46.88% 0.206 289.1)
XYZxyz(15.7367, 8.8653, 52.5012)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E35C3 #9AC335
analogous
#3553C3 #5E35C3 #A535C3
triadic
#5E35C3 #C35E35 #35C35E
tetradic
#5E35C3 #C33553 #9AC335 #35C3A5
square
#5E35C3 #C33553 #9AC335 #35C3A5
split-complementary
#5E35C3 #C3A535 #53C335
monochromatic
#301B63 #472893 #5E35C3 #8261D4 #A891E1

Accessibility & contrast

On white

7.57
#5E35C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E35C3
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E35C3#FFFFFF#000000##FFFFFF
##5E35C31.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C7
Deuteranopia (green-blind)
#0050C0
Tritanopia (blue-blind)
#395B79
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5e35c3;
/* rgb */ color: rgb(94, 53, 195);
/* oklch */ color: oklch(46.9% 0.206 289.1);
Tailwind
colors: {
  custom: {
    50: '#9570d6',
    500: '#5e35c3',
    950: '#000000',
  },
}
SCSS
$custom: #5e35c3;
$custom-light: #9570d6;
$custom-dark: #000000;
JSON
{
  "hex": "#5e35c3",
  "rgb": {
    "r": 94,
    "g": 53,
    "b": 195
  },
  "hsl": {
    "h": 257.324,
    "s": 57.258,
    "l": 48.627
  },
  "oklch": {
    "l": 0.4688,
    "c": 0.20574,
    "h": 289.1
  },
  "luminance": 0.08866
}

Semantic roles & 50–950 ramp

primary
#5E35C3
secondary
#B8CC88
accent
#E147B4
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5E35C3

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

Preview Lab → · Contrast checker → · Palette generator →

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