#5E34BD#5E34BD

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

Color values

HEX#5E34BD
RGBrgb(94, 52, 189)
HSLhsl(258, 57%, 47%)
HSVhsv(258, 72%, 74%)
CMYKcmyk(50.3%, 72.5%, 0%, 25.9%)
CIE-LABlab(35.02, 50.44, -65.28)
CIE-LCHlch(35.02, 82.50, 307.69°)
OKLaboklab(46.22% 0.0696 -0.1874)
OKLCHoklch(46.22% 0.2 290.4)
XYZxyz(15.0268, 8.5092, 48.9849)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E34BD #93BD34
analogous
#344FBD #5E34BD #A234BD
triadic
#5E34BD #BD5E34 #34BD5E
tetradic
#5E34BD #BD344F #93BD34 #34BDA2
square
#5E34BD #BD344F #93BD34 #34BDA2
split-complementary
#5E34BD #BDA234 #4FBD34
monochromatic
#2E1A5D #46278D #5E34BD #805CD2 #A68CDF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E34BD#FFFFFF#000000##FFFFFF
##5E34BD1.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)
#0055C1
Deuteranopia (green-blind)
#004FBA
Tritanopia (blue-blind)
#3D5875
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5e34bd;
/* rgb */ color: rgb(94, 52, 189);
/* oklch */ color: oklch(46.2% 0.200 290.4);
Tailwind
colors: {
  custom: {
    50: '#956fd2',
    500: '#5e34bd',
    950: '#000000',
  },
}
SCSS
$custom: #5e34bd;
$custom-light: #956fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e34bd",
  "rgb": {
    "r": 94,
    "g": 52,
    "b": 189
  },
  "hsl": {
    "h": 258.394,
    "s": 56.846,
    "l": 47.255
  },
  "oklch": {
    "l": 0.46222,
    "c": 0.19993,
    "h": 290.4
  },
  "luminance": 0.0851
}

Semantic roles & 50–950 ramp

primary
#5E34BD
secondary
#B4CA83
accent
#E048B1
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5E34BD

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

Preview Lab → · Contrast checker → · Palette generator →

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