#5E33BB#5E33BB

#5E33BB is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.9% C 0.199 H 290.9°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#5E33BB
RGBrgb(94, 51, 187)
HSLhsl(259, 57%, 47%)
HSVhsv(259, 73%, 73%)
CMYKcmyk(49.7%, 72.7%, 0%, 26.7%)
CIE-LABlab(34.67, 50.39, -64.68)
CIE-LCHlch(34.67, 81.99, 307.92°)
OKLaboklab(45.92% 0.0709 -0.1856)
OKLCHoklch(45.92% 0.199 290.9)
XYZxyz(14.7670, 8.3346, 47.8347)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E33BB #90BB33
analogous
#334CBB #5E33BB #A233BB
triadic
#5E33BB #BB5E33 #33BB5E
tetradic
#5E33BB #BB334C #90BB33 #33BBA2
square
#5E33BB #BB334C #90BB33 #33BBA2
split-complementary
#5E33BB #BBA233 #4CBB33
monochromatic
#2E195B #46268B #5E33BB #7F59D2 #A489DF

Accessibility & contrast

On white

7.87
#5E33BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#5E33BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E33BB
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E33BB#FFFFFF#000000##FFFFFF
##5E33BB1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BF
Deuteranopia (green-blind)
#004EB8
Tritanopia (blue-blind)
#3F5774
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5e33bb;
/* rgb */ color: rgb(94, 51, 187);
/* oklch */ color: oklch(45.9% 0.199 290.9);
Tailwind
colors: {
  custom: {
    50: '#946fd1',
    500: '#5e33bb',
    950: '#000000',
  },
}
SCSS
$custom: #5e33bb;
$custom-light: #946fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e33bb",
  "rgb": {
    "r": 94,
    "g": 51,
    "b": 187
  },
  "hsl": {
    "h": 258.971,
    "s": 57.143,
    "l": 46.667
  },
  "oklch": {
    "l": 0.4592,
    "c": 0.19873,
    "h": 290.9
  },
  "luminance": 0.08335
}

Semantic roles & 50–950 ramp

primary
#5E33BB
secondary
#B2C981
accent
#E047B0
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5E33BB

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

Preview Lab → · Contrast checker → · Palette generator →

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