#5E33BA#5E33BA

#5E33BA is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.8% C 0.198 H 291.1°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#5E33BA
RGBrgb(94, 51, 186)
HSLhsl(259, 57%, 46%)
HSVhsv(259, 73%, 73%)
CMYKcmyk(49.5%, 72.6%, 0%, 27.1%)
CIE-LABlab(34.58, 50.11, -64.23)
CIE-LCHlch(34.58, 81.47, 307.96°)
OKLaboklab(45.83% 0.0711 -0.1843)
OKLCHoklch(45.83% 0.198 291.1)
XYZxyz(14.6603, 8.2919, 47.2729)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E33BA #8FBA33
analogous
#334CBA #5E33BA #A233BA
triadic
#5E33BA #BA5E33 #33BA5E
tetradic
#5E33BA #BA334C #8FBA33 #33BAA2
square
#5E33BA #BA334C #8FBA33 #33BAA2
split-complementary
#5E33BA #BAA233 #4CBA33
monochromatic
#2D195A #46268A #5E33BA #7F59D1 #A489DF

Accessibility & contrast

On white

7.90
#5E33BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#5E33BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E33BA
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E33BA#FFFFFF#000000##FFFFFF
##5E33BA1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BE
Deuteranopia (green-blind)
#004EB7
Tritanopia (blue-blind)
#3F5773
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5e33ba;
/* rgb */ color: rgb(94, 51, 186);
/* oklch */ color: oklch(45.8% 0.198 291.1);
Tailwind
colors: {
  custom: {
    50: '#946fd0',
    500: '#5e33ba',
    950: '#000000',
  },
}
SCSS
$custom: #5e33ba;
$custom-light: #946fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e33ba",
  "rgb": {
    "r": 94,
    "g": 51,
    "b": 186
  },
  "hsl": {
    "h": 259.111,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.45833,
    "c": 0.19758,
    "h": 291.1
  },
  "luminance": 0.08293
}

Semantic roles & 50–950 ramp

primary
#5E33BA
secondary
#B2C980
accent
#E048B0
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5E33BA

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

Preview Lab → · Contrast checker → · Palette generator →

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