#5E33B5#5E33B5

#5E33B5 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.4% C 0.192 H 292.1°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#5E33B5
RGBrgb(94, 51, 181)
HSLhsl(260, 56%, 45%)
HSVhsv(260, 72%, 71%)
CMYKcmyk(48.1%, 71.8%, 0%, 29%)
CIE-LABlab(34.16, 48.74, -61.97)
CIE-LCHlch(34.16, 78.84, 308.18°)
OKLaboklab(45.4% 0.0722 -0.1777)
OKLCHoklch(45.4% 0.192 292.1)
XYZxyz(14.1381, 8.0830, 44.5224)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E33B5 #8AB533
analogous
#3349B5 #5E33B5 #9F33B5
triadic
#5E33B5 #B55E33 #33B55E
tetradic
#5E33B5 #B53349 #8AB533 #33B59F
square
#5E33B5 #B53349 #8AB533 #33B59F
split-complementary
#5E33B5 #B59F33 #49B533
monochromatic
#2C1856 #452685 #5E33B5 #7E56CF #A286DD

Accessibility & contrast

On white

8.03
#5E33B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#5E33B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E33B5
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E33B5#FFFFFF#000000##FFFFFF
##5E33B51.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B9
Deuteranopia (green-blind)
#004EB2
Tritanopia (blue-blind)
#435571
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5e33b5;
/* rgb */ color: rgb(94, 51, 181);
/* oklch */ color: oklch(45.4% 0.192 292.1);
Tailwind
colors: {
  custom: {
    50: '#946ecc',
    500: '#5e33b5',
    950: '#000000',
  },
}
SCSS
$custom: #5e33b5;
$custom-light: #946ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#5e33b5",
  "rgb": {
    "r": 94,
    "g": 51,
    "b": 181
  },
  "hsl": {
    "h": 259.846,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.45397,
    "c": 0.19182,
    "h": 292.1
  },
  "luminance": 0.08084
}

Semantic roles & 50–950 ramp

primary
#5E33B5
secondary
#AEC67D
accent
#DF48AD
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5E33B5

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

Preview Lab → · Contrast checker → · Palette generator →

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