#5E35CF#5E35CF

#5E35CF is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.0% C 0.219 H 287.1°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#5E35CF
RGBrgb(94, 53, 207)
HSLhsl(256, 62%, 51%)
HSVhsv(256, 74%, 81%)
CMYKcmyk(54.6%, 74.4%, 0%, 18.8%)
CIE-LABlab(36.80, 54.95, -72.88)
CIE-LCHlch(36.80, 91.27, 307.01°)
OKLaboklab(47.97% 0.0646 -0.2097)
OKLCHoklch(47.97% 0.219 287.1)
XYZxyz(17.1483, 9.4300, 59.9360)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E35CF #A6CF35
analogous
#3559CF #5E35CF #AB35CF
triadic
#5E35CF #CF5E35 #35CF5E
tetradic
#5E35CF #CF3559 #A6CF35 #35CFAB
square
#5E35CF #CF3559 #A6CF35 #35CFAB
split-complementary
#5E35CF #CFAB35 #59CF35
monochromatic
#311A6F #4726A1 #5E35CF #8566DB #AD98E7

Accessibility & contrast

On white

7.28
#5E35CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#5E35CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E35CF
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E35CF#FFFFFF#000000##FFFFFF
##5E35CF1.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD3
Deuteranopia (green-blind)
#0052CC
Tritanopia (blue-blind)
#2D6080
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5e35cf;
/* rgb */ color: rgb(94, 53, 207);
/* oklch */ color: oklch(48.0% 0.219 287.1);
Tailwind
colors: {
  custom: {
    50: '#9771df',
    500: '#5e35cf',
    950: '#000000',
  },
}
SCSS
$custom: #5e35cf;
$custom-light: #9771df;
$custom-dark: #000000;
JSON
{
  "hex": "#5e35cf",
  "rgb": {
    "r": 94,
    "g": 53,
    "b": 207
  },
  "hsl": {
    "h": 255.974,
    "s": 61.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.47967,
    "c": 0.2194,
    "h": 287.1
  },
  "luminance": 0.09431
}

Semantic roles & 50–950 ramp

primary
#5E35CF
secondary
#C0D28E
accent
#E543BA
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #5E35CF

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

Preview Lab → · Contrast checker → · Palette generator →

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