#5E33B3#5E33B3

#5E33B3 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.2% C 0.190 H 292.5°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#5E33B3
RGBrgb(94, 51, 179)
HSLhsl(260, 56%, 45%)
HSVhsv(260, 72%, 70%)
CMYKcmyk(47.5%, 71.5%, 0%, 29.8%)
CIE-LABlab(33.99, 48.19, -61.06)
CIE-LCHlch(33.99, 77.79, 308.28°)
OKLaboklab(45.22% 0.0726 -0.175)
OKLCHoklch(45.22% 0.19 292.5)
XYZxyz(13.9343, 8.0015, 43.4493)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E33B3 #88B333
analogous
#3348B3 #5E33B3 #9E33B3
triadic
#5E33B3 #B35E33 #33B35E
tetradic
#5E33B3 #B33348 #88B333 #33B39E
square
#5E33B3 #B33348 #88B333 #33B39E
split-complementary
#5E33B3 #B39E33 #48B333
monochromatic
#2C1854 #452583 #5E33B3 #7E55CE #A284DC

Accessibility & contrast

On white

8.08
#5E33B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#5E33B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E33B3
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E33B3#FFFFFF#000000##FFFFFF
##5E33B31.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B7
Deuteranopia (green-blind)
#004DB0
Tritanopia (blue-blind)
#44546F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5e33b3;
/* rgb */ color: rgb(94, 51, 179);
/* oklch */ color: oklch(45.2% 0.190 292.5);
Tailwind
colors: {
  custom: {
    50: '#936ecb',
    500: '#5e33b3',
    950: '#000000',
  },
}
SCSS
$custom: #5e33b3;
$custom-light: #936ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#5e33b3",
  "rgb": {
    "r": 94,
    "g": 51,
    "b": 179
  },
  "hsl": {
    "h": 260.156,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.45224,
    "c": 0.18951,
    "h": 292.5
  },
  "luminance": 0.08002
}

Semantic roles & 50–950 ramp

primary
#5E33B3
secondary
#ADC67C
accent
#DF49AD
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5E33B3

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

Preview Lab → · Contrast checker → · Palette generator →

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