#5E35BB#5E35BB

#5E35BB is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.2% C 0.197 H 290.6°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#5E35BB
RGBrgb(94, 53, 187)
HSLhsl(258, 56%, 47%)
HSVhsv(258, 72%, 73%)
CMYKcmyk(49.7%, 71.7%, 0%, 26.7%)
CIE-LABlab(35.03, 49.38, -64.09)
CIE-LCHlch(35.03, 80.91, 307.61°)
OKLaboklab(46.18% 0.0692 -0.1839)
OKLCHoklch(46.18% 0.197 290.6)
XYZxyz(14.8563, 8.5131, 47.8645)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E35BB #92BB35
analogous
#354FBB #5E35BB #A135BB
triadic
#5E35BB #BB5E35 #35BB5E
tetradic
#5E35BB #BB354F #92BB35 #35BBA1
square
#5E35BB #BB354F #92BB35 #35BBA1
split-complementary
#5E35BB #BBA135 #4FBB35
monochromatic
#2E1A5C #46278B #5E35BB #805CD1 #A58CDE

Accessibility & contrast

On white

7.77
#5E35BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#5E35BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E35BB
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E35BB#FFFFFF#000000##FFFFFF
##5E35BB1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BF
Deuteranopia (green-blind)
#004FB8
Tritanopia (blue-blind)
#3F5874
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5e35bb;
/* rgb */ color: rgb(94, 53, 187);
/* oklch */ color: oklch(46.2% 0.197 290.6);
Tailwind
colors: {
  custom: {
    50: '#9470d0',
    500: '#5e35bb',
    950: '#000000',
  },
}
SCSS
$custom: #5e35bb;
$custom-light: #9470d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e35bb",
  "rgb": {
    "r": 94,
    "g": 53,
    "b": 187
  },
  "hsl": {
    "h": 258.358,
    "s": 55.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.46175,
    "c": 0.1965,
    "h": 290.6
  },
  "luminance": 0.08514
}

Semantic roles & 50–950 ramp

primary
#5E35BB
secondary
#B3C983
accent
#DF49B1
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #5E35BB

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

Preview Lab → · Contrast checker → · Palette generator →

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