#5E33BC#5E33BC

#5E33BC is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.0% C 0.200 H 290.7°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#5E33BC
RGBrgb(94, 51, 188)
HSLhsl(259, 57%, 47%)
HSVhsv(259, 73%, 74%)
CMYKcmyk(50%, 72.9%, 0%, 26.3%)
CIE-LABlab(34.76, 50.66, -65.12)
CIE-LCHlch(34.76, 82.51, 307.88°)
OKLaboklab(46.01% 0.0707 -0.187)
OKLCHoklch(46.01% 0.2 290.7)
XYZxyz(14.8744, 8.3776, 48.4005)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E33BC #91BC33
analogous
#334DBC #5E33BC #A333BC
triadic
#5E33BC #BC5E33 #33BC5E
tetradic
#5E33BC #BC334D #91BC33 #33BCA3
square
#5E33BC #BC334D #91BC33 #33BCA3
split-complementary
#5E33BC #BCA333 #4DBC33
monochromatic
#2E195C #46268C #5E33BC #805AD2 #A58ADF

Accessibility & contrast

On white

7.85
#5E33BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#5E33BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E33BC
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E33BC#FFFFFF#000000##FFFFFF
##5E33BC1.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C0
Deuteranopia (green-blind)
#004FB9
Tritanopia (blue-blind)
#3E5774
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5e33bc;
/* rgb */ color: rgb(94, 51, 188);
/* oklch */ color: oklch(46.0% 0.200 290.7);
Tailwind
colors: {
  custom: {
    50: '#956fd1',
    500: '#5e33bc',
    950: '#000000',
  },
}
SCSS
$custom: #5e33bc;
$custom-light: #956fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e33bc",
  "rgb": {
    "r": 94,
    "g": 51,
    "b": 188
  },
  "hsl": {
    "h": 258.832,
    "s": 57.322,
    "l": 46.863
  },
  "oklch": {
    "l": 0.46009,
    "c": 0.19987,
    "h": 290.7
  },
  "luminance": 0.08378
}

Semantic roles & 50–950 ramp

primary
#5E33BC
secondary
#B3C981
accent
#E147B0
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5E33BC

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

Preview Lab → · Contrast checker → · Palette generator →

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