#5E34BE#5E34BE

#5E34BE is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.3% C 0.201 H 290.2°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#5E34BE
RGBrgb(94, 52, 190)
HSLhsl(258, 57%, 47%)
HSVhsv(258, 73%, 75%)
CMYKcmyk(50.5%, 72.6%, 0%, 25.5%)
CIE-LABlab(35.11, 50.72, -65.73)
CIE-LCHlch(35.11, 83.02, 307.66°)
OKLaboklab(46.31% 0.0694 -0.1887)
OKLCHoklch(46.31% 0.201 290.2)
XYZxyz(15.1357, 8.5527, 49.5585)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E34BE #94BE34
analogous
#344FBE #5E34BE #A334BE
triadic
#5E34BE #BE5E34 #34BE5E
tetradic
#5E34BE #BE344F #94BE34 #34BEA3
square
#5E34BE #BE344F #94BE34 #34BEA3
split-complementary
#5E34BE #BEA334 #4FBE34
monochromatic
#2E1A5E #46278E #5E34BE #815DD3 #A68DE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E34BE#FFFFFF#000000##FFFFFF
##5E34BE1.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)
#0055C2
Deuteranopia (green-blind)
#004FBB
Tritanopia (blue-blind)
#3C5976
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5e34be;
/* rgb */ color: rgb(94, 52, 190);
/* oklch */ color: oklch(46.3% 0.201 290.2);
Tailwind
colors: {
  custom: {
    50: '#956fd3',
    500: '#5e34be',
    950: '#000000',
  },
}
SCSS
$custom: #5e34be;
$custom-light: #956fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e34be",
  "rgb": {
    "r": 94,
    "g": 52,
    "b": 190
  },
  "hsl": {
    "h": 258.261,
    "s": 57.025,
    "l": 47.451
  },
  "oklch": {
    "l": 0.46311,
    "c": 0.20108,
    "h": 290.2
  },
  "luminance": 0.08553
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E34BE

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

Preview Lab → · Contrast checker → · Palette generator →

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