#5D33C2#5D33C2

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

Color values

HEX#5D33C2
RGBrgb(93, 51, 194)
HSLhsl(258, 58%, 48%)
HSVhsv(258, 74%, 76%)
CMYKcmyk(52.1%, 73.7%, 0%, 23.9%)
CIE-LABlab(35.18, 52.17, -67.96)
CIE-LCHlch(35.18, 85.68, 307.51°)
OKLaboklab(46.45% 0.0678 -0.1953)
OKLCHoklch(46.45% 0.207 289.1)
XYZxyz(15.4328, 8.5891, 51.8732)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D33C2 #98C233
analogous
#3351C2 #5D33C2 #A433C2
triadic
#5D33C2 #C25D33 #33C25D
tetradic
#5D33C2 #C23351 #98C233 #33C2A4
square
#5D33C2 #C23351 #98C233 #33C2A4
split-complementary
#5D33C2 #C2A433 #51C233
monochromatic
#2F1A61 #462692 #5D33C2 #815ED5 #A78EE1

Accessibility & contrast

On white

7.73
#5D33C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#5D33C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D33C2
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D33C2#FFFFFF#000000##FFFFFF
##5D33C21.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d33c2;
/* rgb */ color: rgb(93, 51, 194);
/* oklch */ color: oklch(46.4% 0.207 289.1);
Tailwind
colors: {
  custom: {
    50: '#956fd6',
    500: '#5d33c2',
    950: '#000000',
  },
}
SCSS
$custom: #5d33c2;
$custom-light: #956fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#5d33c2",
  "rgb": {
    "r": 93,
    "g": 51,
    "b": 194
  },
  "hsl": {
    "h": 257.622,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.46445,
    "c": 0.20675,
    "h": 289.1
  },
  "luminance": 0.0859
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D33C2

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

Preview Lab → · Contrast checker → · Palette generator →

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