#5D33CD#5D33CD

#5D33CD is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.5% C 0.219 H 287.3°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#5D33CD
RGBrgb(93, 51, 205)
HSLhsl(256, 61%, 50%)
HSVhsv(256, 75%, 80%)
CMYKcmyk(54.6%, 75.1%, 0%, 19.6%)
CIE-LABlab(36.18, 55.21, -72.74)
CIE-LCHlch(36.18, 91.32, 307.20°)
OKLaboklab(47.45% 0.0651 -0.2093)
OKLCHoklch(47.45% 0.219 287.3)
XYZxyz(16.7142, 9.1017, 58.6219)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D33CD #A3CD33
analogous
#3356CD #5D33CD #AA33CD
triadic
#5D33CD #CD5D33 #33CD5D
tetradic
#5D33CD #CD3356 #A3CD33 #33CDAA
square
#5D33CD #CD3356 #A3CD33 #33CDAA
split-complementary
#5D33CD #CDAA33 #56CD33
monochromatic
#301A6B #47269C #5D33CD #8464D9 #AB95E5

Accessibility & contrast

On white

7.45
#5D33CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#5D33CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D33CD
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D33CD#FFFFFF#000000##FFFFFF
##5D33CD1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D1
Deuteranopia (green-blind)
#0051CA
Tritanopia (blue-blind)
#2D5E7E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5d33cd;
/* rgb */ color: rgb(93, 51, 205);
/* oklch */ color: oklch(47.5% 0.219 287.3);
Tailwind
colors: {
  custom: {
    50: '#976fdd',
    500: '#5d33cd',
    950: '#000000',
  },
}
SCSS
$custom: #5d33cd;
$custom-light: #976fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d33cd",
  "rgb": {
    "r": 93,
    "g": 51,
    "b": 205
  },
  "hsl": {
    "h": 256.364,
    "s": 60.63,
    "l": 50.196
  },
  "oklch": {
    "l": 0.47452,
    "c": 0.21918,
    "h": 287.3
  },
  "luminance": 0.09103
}

Semantic roles & 50–950 ramp

primary
#5D33CD
secondary
#BED08B
accent
#E444B8
background
#FAF6FD
surface
#F3ECFB
border
#CDC7D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #5D33CD

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

Preview Lab → · Contrast checker → · Palette generator →

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