#5D33CE#5D33CE

#5D33CE is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.5% C 0.220 H 287.1°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#5D33CE
RGBrgb(93, 51, 206)
HSLhsl(256, 61%, 50%)
HSVhsv(256, 75%, 81%)
CMYKcmyk(54.9%, 75.2%, 0%, 19.2%)
CIE-LABlab(36.27, 55.49, -73.17)
CIE-LCHlch(36.27, 91.83, 307.18°)
OKLaboklab(47.55% 0.0648 -0.2105)
OKLCHoklch(47.55% 0.22 287.1)
XYZxyz(16.8353, 9.1501, 59.2596)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D33CE #A4CE33
analogous
#3356CE #5D33CE #AA33CE
triadic
#5D33CE #CE5D33 #33CE5D
tetradic
#5D33CE #CE3356 #A4CE33 #33CEAA
square
#5D33CE #CE3356 #A4CE33 #33CEAA
split-complementary
#5D33CE #CEAA33 #56CE33
monochromatic
#301A6D #46269E #5D33CE #8464DA #AB96E6

Accessibility & contrast

On white

7.42
#5D33CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#5D33CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D33CE
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D33CE#FFFFFF#000000##FFFFFF
##5D33CE1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D2
Deuteranopia (green-blind)
#0051CB
Tritanopia (blue-blind)
#2B5F7F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5d33ce;
/* rgb */ color: rgb(93, 51, 206);
/* oklch */ color: oklch(47.5% 0.220 287.1);
Tailwind
colors: {
  custom: {
    50: '#976fde',
    500: '#5d33ce',
    950: '#000000',
  },
}
SCSS
$custom: #5d33ce;
$custom-light: #976fde;
$custom-dark: #000000;
JSON
{
  "hex": "#5d33ce",
  "rgb": {
    "r": 93,
    "g": 51,
    "b": 206
  },
  "hsl": {
    "h": 256.258,
    "s": 61.265,
    "l": 50.392
  },
  "oklch": {
    "l": 0.47545,
    "c": 0.2203,
    "h": 287.1
  },
  "luminance": 0.09151
}

Semantic roles & 50–950 ramp

primary
#5D33CE
secondary
#BED18C
accent
#E443B9
background
#FAF6FD
surface
#F3ECFB
border
#CDC7D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #5D33CE

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

Preview Lab → · Contrast checker → · Palette generator →

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