#5E33C2#5E33C2

#5E33C2 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.5% C 0.207 H 289.6°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#5E33C2
RGBrgb(94, 51, 194)
HSLhsl(258, 58%, 48%)
HSVhsv(258, 74%, 76%)
CMYKcmyk(51.5%, 73.7%, 0%, 23.9%)
CIE-LABlab(35.29, 52.32, -67.79)
CIE-LCHlch(35.29, 85.63, 307.66°)
OKLaboklab(46.54% 0.0693 -0.1948)
OKLCHoklch(46.54% 0.207 289.6)
XYZxyz(15.5347, 8.6417, 51.8779)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E33C2 #97C233
analogous
#334FC2 #5E33C2 #A533C2
triadic
#5E33C2 #C25E33 #33C25E
tetradic
#5E33C2 #C2334F #97C233 #33C2A5
square
#5E33C2 #C2334F #97C233 #33C2A5
split-complementary
#5E33C2 #C2A533 #4FC233
monochromatic
#2F1A61 #472692 #5E33C2 #815ED5 #A78EE1

Accessibility & contrast

On white

7.70
#5E33C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#5E33C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E33C2
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E33C2#FFFFFF#000000##FFFFFF
##5E33C21.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C6
Deuteranopia (green-blind)
#004FBF
Tritanopia (blue-blind)
#395A78
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5e33c2;
/* rgb */ color: rgb(94, 51, 194);
/* oklch */ color: oklch(46.5% 0.207 289.6);
Tailwind
colors: {
  custom: {
    50: '#956fd6',
    500: '#5e33c2',
    950: '#000000',
  },
}
SCSS
$custom: #5e33c2;
$custom-light: #956fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#5e33c2",
  "rgb": {
    "r": 94,
    "g": 51,
    "b": 194
  },
  "hsl": {
    "h": 258.042,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.46543,
    "c": 0.20672,
    "h": 289.6
  },
  "luminance": 0.08642
}

Semantic roles & 50–950 ramp

primary
#5E33C2
secondary
#B7CC85
accent
#E246B3
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5E33C2

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

Preview Lab → · Contrast checker → · Palette generator →

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