#5E34BF#5E34BF

#5E34BF is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.4% C 0.202 H 290.0°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#5E34BF
RGBrgb(94, 52, 191)
HSLhsl(258, 57%, 48%)
HSVhsv(258, 73%, 75%)
CMYKcmyk(50.8%, 72.8%, 0%, 25.1%)
CIE-LABlab(35.20, 51.00, -66.17)
CIE-LCHlch(35.20, 83.54, 307.62°)
OKLaboklab(46.4% 0.0692 -0.19)
OKLCHoklch(46.4% 0.202 290)
XYZxyz(15.2453, 8.5966, 50.1361)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E34BF #95BF34
analogous
#3450BF #5E34BF #A334BF
triadic
#5E34BF #BF5E34 #34BF5E
tetradic
#5E34BF #BF3450 #95BF34 #34BFA3
square
#5E34BF #BF3450 #95BF34 #34BFA3
split-complementary
#5E34BF #BFA334 #50BF34
monochromatic
#2F1A5F #46278F #5E34BF #815DD3 #A68DE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E34BF#FFFFFF#000000##FFFFFF
##5E34BF1.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)
#0055C3
Deuteranopia (green-blind)
#004FBC
Tritanopia (blue-blind)
#3C5976
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5e34bf;
/* rgb */ color: rgb(94, 52, 191);
/* oklch */ color: oklch(46.4% 0.202 290.0);
Tailwind
colors: {
  custom: {
    50: '#956fd3',
    500: '#5e34bf',
    950: '#000000',
  },
}
SCSS
$custom: #5e34bf;
$custom-light: #956fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e34bf",
  "rgb": {
    "r": 94,
    "g": 52,
    "b": 191
  },
  "hsl": {
    "h": 258.129,
    "s": 57.202,
    "l": 47.647
  },
  "oklch": {
    "l": 0.46399,
    "c": 0.20223,
    "h": 290
  },
  "luminance": 0.08597
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E34BF

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

Preview Lab → · Contrast checker → · Palette generator →

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