#5E33D0#5E33D0

#5E33D0 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.8% C 0.222 H 287.2°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#5E33D0
RGBrgb(94, 51, 208)
HSLhsl(256, 63%, 51%)
HSVhsv(256, 75%, 82%)
CMYKcmyk(54.8%, 75.5%, 0%, 18.4%)
CIE-LABlab(36.56, 56.18, -73.86)
CIE-LCHlch(36.56, 92.79, 307.26°)
OKLaboklab(47.82% 0.0658 -0.2125)
OKLCHoklch(47.82% 0.222 287.2)
XYZxyz(17.1817, 9.3005, 60.5521)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E33D0 #A5D033
analogous
#3356D0 #5E33D0 #AC33D0
triadic
#5E33D0 #D05E33 #33D05E
tetradic
#5E33D0 #D03356 #A5D033 #33D0AC
square
#5E33D0 #D03356 #A5D033 #33D0AC
split-complementary
#5E33D0 #D0AC33 #56D033
monochromatic
#311A6F #4725A1 #5E33D0 #8565DB #AD96E7

Accessibility & contrast

On white

7.34
#5E33D0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#5E33D0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E33D0
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E33D0#FFFFFF#000000##FFFFFF
##5E33D01.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD4
Deuteranopia (green-blind)
#0052CD
Tritanopia (blue-blind)
#2C5F80
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5e33d0;
/* rgb */ color: rgb(94, 51, 208);
/* oklch */ color: oklch(47.8% 0.222 287.2);
Tailwind
colors: {
  custom: {
    50: '#9870e0',
    500: '#5e33d0',
    950: '#000000',
  },
}
SCSS
$custom: #5e33d0;
$custom-light: #9870e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e33d0",
  "rgb": {
    "r": 94,
    "g": 51,
    "b": 208
  },
  "hsl": {
    "h": 256.433,
    "s": 62.55,
    "l": 50.784
  },
  "oklch": {
    "l": 0.47824,
    "c": 0.22248,
    "h": 287.2
  },
  "luminance": 0.09301
}

Semantic roles & 50–950 ramp

primary
#5E33D0
secondary
#BFD28D
accent
#E642B9
background
#FAF6FD
surface
#F3ECFB
border
#CDC7D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #5E33D0

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

Preview Lab → · Contrast checker → · Palette generator →

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