#5E35BD#5E35BD

#5E35BD is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.4% C 0.199 H 290.2°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#5E35BD
RGBrgb(94, 53, 189)
HSLhsl(258, 56%, 47%)
HSVhsv(258, 72%, 74%)
CMYKcmyk(50.3%, 72%, 0%, 25.9%)
CIE-LABlab(35.20, 49.94, -64.99)
CIE-LCHlch(35.20, 81.96, 307.54°)
OKLaboklab(46.35% 0.0687 -0.1866)
OKLCHoklch(46.35% 0.199 290.2)
XYZxyz(15.0719, 8.5994, 48.9999)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E35BD #94BD35
analogous
#3550BD #5E35BD #A235BD
triadic
#5E35BD #BD5E35 #35BD5E
tetradic
#5E35BD #BD3550 #94BD35 #35BDA2
square
#5E35BD #BD3550 #94BD35 #35BDA2
split-complementary
#5E35BD #BDA235 #50BD35
monochromatic
#2E1A5D #46288D #5E35BD #815DD2 #A68DDF

Accessibility & contrast

On white

7.72
#5E35BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#5E35BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E35BD
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E35BD#FFFFFF#000000##FFFFFF
##5E35BD1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C1
Deuteranopia (green-blind)
#0050BA
Tritanopia (blue-blind)
#3D5976
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5e35bd;
/* rgb */ color: rgb(94, 53, 189);
/* oklch */ color: oklch(46.4% 0.199 290.2);
Tailwind
colors: {
  custom: {
    50: '#9570d2',
    500: '#5e35bd',
    950: '#000000',
  },
}
SCSS
$custom: #5e35bd;
$custom-light: #9570d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e35bd",
  "rgb": {
    "r": 94,
    "g": 53,
    "b": 189
  },
  "hsl": {
    "h": 258.088,
    "s": 56.198,
    "l": 47.451
  },
  "oklch": {
    "l": 0.4635,
    "c": 0.19883,
    "h": 290.2
  },
  "luminance": 0.086
}

Semantic roles & 50–950 ramp

primary
#5E35BD
secondary
#B5CA84
accent
#DF48B2
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5E35BD

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

Preview Lab → · Contrast checker → · Palette generator →

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