#5D33D0#5D33D0

#5D33D0 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.7% C 0.223 H 286.8°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#5D33D0
RGBrgb(93, 51, 208)
HSLhsl(256, 63%, 51%)
HSVhsv(256, 75%, 82%)
CMYKcmyk(55.3%, 75.5%, 0%, 18.4%)
CIE-LABlab(36.46, 56.04, -74.02)
CIE-LCHlch(36.46, 92.84, 307.13°)
OKLaboklab(47.73% 0.0643 -0.213)
OKLCHoklch(47.73% 0.223 286.8)
XYZxyz(17.0798, 9.2479, 60.5473)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D33D0 #A6D033
analogous
#3357D0 #5D33D0 #AB33D0
triadic
#5D33D0 #D05D33 #33D05D
tetradic
#5D33D0 #D03357 #A6D033 #33D0AB
square
#5D33D0 #D03357 #A6D033 #33D0AB
split-complementary
#5D33D0 #D0AB33 #57D033
monochromatic
#301A6F #4625A1 #5D33D0 #8465DB #AC96E7

Accessibility & contrast

On white

7.37
#5D33D0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#5D33D0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D33D0
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D33D0#FFFFFF#000000##FFFFFF
##5D33D01.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD4
Deuteranopia (green-blind)
#0051CD
Tritanopia (blue-blind)
#295F80
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5d33d0;
/* rgb */ color: rgb(93, 51, 208);
/* oklch */ color: oklch(47.7% 0.223 286.8);
Tailwind
colors: {
  custom: {
    50: '#9770e0',
    500: '#5d33d0',
    950: '#000000',
  },
}
SCSS
$custom: #5d33d0;
$custom-light: #9770e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d33d0",
  "rgb": {
    "r": 93,
    "g": 51,
    "b": 208
  },
  "hsl": {
    "h": 256.051,
    "s": 62.55,
    "l": 50.784
  },
  "oklch": {
    "l": 0.47731,
    "c": 0.22254,
    "h": 286.8
  },
  "luminance": 0.09249
}

Semantic roles & 50–950 ramp

primary
#5D33D0
secondary
#C0D28D
accent
#E642BA
background
#FAF6FD
surface
#F3ECFB
border
#CDC7D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #5D33D0

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

Preview Lab → · Contrast checker → · Palette generator →

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