#5E35BC#5E35BC

#5E35BC is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.3% C 0.198 H 290.4°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#5E35BC
RGBrgb(94, 53, 188)
HSLhsl(258, 56%, 47%)
HSVhsv(258, 72%, 74%)
CMYKcmyk(50%, 71.8%, 0%, 26.3%)
CIE-LABlab(35.12, 49.66, -64.54)
CIE-LCHlch(35.12, 81.43, 307.58°)
OKLaboklab(46.26% 0.0689 -0.1852)
OKLCHoklch(46.26% 0.198 290.4)
XYZxyz(14.9637, 8.5561, 48.4303)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E35BC #93BC35
analogous
#3550BC #5E35BC #A235BC
triadic
#5E35BC #BC5E35 #35BC5E
tetradic
#5E35BC #BC3550 #93BC35 #35BCA2
square
#5E35BC #BC3550 #93BC35 #35BCA2
split-complementary
#5E35BC #BCA235 #50BC35
monochromatic
#2E1A5D #46288C #5E35BC #805DD1 #A68DDF

Accessibility & contrast

On white

7.75
#5E35BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#5E35BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E35BC
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E35BC#FFFFFF#000000##FFFFFF
##5E35BC1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C0
Deuteranopia (green-blind)
#004FB9
Tritanopia (blue-blind)
#3E5875
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5e35bc;
/* rgb */ color: rgb(94, 53, 188);
/* oklch */ color: oklch(46.3% 0.198 290.4);
Tailwind
colors: {
  custom: {
    50: '#9470d1',
    500: '#5e35bc',
    950: '#000000',
  },
}
SCSS
$custom: #5e35bc;
$custom-light: #9470d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e35bc",
  "rgb": {
    "r": 94,
    "g": 53,
    "b": 188
  },
  "hsl": {
    "h": 258.222,
    "s": 56.017,
    "l": 47.255
  },
  "oklch": {
    "l": 0.46262,
    "c": 0.19766,
    "h": 290.4
  },
  "luminance": 0.08557
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E35BC

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

Preview Lab → · Contrast checker → · Palette generator →

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