#5D33C8#5D33C8

#5D33C8 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.0% C 0.214 H 288.1°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#5D33C8
RGBrgb(93, 51, 200)
HSLhsl(257, 59%, 49%)
HSVhsv(257, 75%, 78%)
CMYKcmyk(53.5%, 74.5%, 0%, 21.6%)
CIE-LABlab(35.72, 53.83, -70.58)
CIE-LCHlch(35.72, 88.77, 307.33°)
OKLaboklab(46.99% 0.0664 -0.203)
OKLCHoklch(46.99% 0.214 288.1)
XYZxyz(16.1203, 8.8641, 55.4939)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D33C8 #9EC833
analogous
#3353C8 #5D33C8 #A833C8
triadic
#5D33C8 #C85D33 #33C85D
tetradic
#5D33C8 #C83353 #9EC833 #33C8A8
square
#5D33C8 #C83353 #9EC833 #33C8A8
split-complementary
#5D33C8 #C8A833 #53C833
monochromatic
#301A66 #462797 #5D33C8 #8261D7 #A992E3

Accessibility & contrast

On white

7.57
#5D33C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#5D33C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D33C8
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D33C8#FFFFFF#000000##FFFFFF
##5D33C81.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CC
Deuteranopia (green-blind)
#0050C5
Tritanopia (blue-blind)
#325C7B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5d33c8;
/* rgb */ color: rgb(93, 51, 200);
/* oklch */ color: oklch(47.0% 0.214 288.1);
Tailwind
colors: {
  custom: {
    50: '#966fda',
    500: '#5d33c8',
    950: '#000000',
  },
}
SCSS
$custom: #5d33c8;
$custom-light: #966fda;
$custom-dark: #000000;
JSON
{
  "hex": "#5d33c8",
  "rgb": {
    "r": 93,
    "g": 51,
    "b": 200
  },
  "hsl": {
    "h": 256.913,
    "s": 59.363,
    "l": 49.216
  },
  "oklch": {
    "l": 0.46991,
    "c": 0.21356,
    "h": 288.1
  },
  "luminance": 0.08865
}

Semantic roles & 50–950 ramp

primary
#5D33C8
secondary
#BBCE89
accent
#E345B6
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5D33C8

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

Preview Lab → · Contrast checker → · Palette generator →

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