#5933C2#5933C2

#5933C2 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.1% C 0.207 H 287.4°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#5933C2
RGBrgb(89, 51, 194)
HSLhsl(256, 58%, 48%)
HSVhsv(256, 74%, 76%)
CMYKcmyk(54.1%, 73.7%, 0%, 23.9%)
CIE-LABlab(34.77, 51.58, -68.64)
CIE-LCHlch(34.77, 85.86, 306.92°)
OKLaboklab(46.06% 0.062 -0.1974)
OKLCHoklch(46.06% 0.207 287.4)
XYZxyz(15.0384, 8.3858, 51.8547)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5933C2 #9CC233
analogous
#3354C2 #5933C2 #A033C2
triadic
#5933C2 #C25933 #33C259
tetradic
#5933C2 #C23354 #9CC233 #33C2A0
square
#5933C2 #C23354 #9CC233 #33C2A0
split-complementary
#5933C2 #C2A033 #54C233
monochromatic
#2D1A61 #432692 #5933C2 #7D5ED5 #A48EE1

Accessibility & contrast

On white

7.84
#5933C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#5933C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5933C2
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5933C2#FFFFFF#000000##FFFFFF
##5933C21.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C6
Deuteranopia (green-blind)
#004EBF
Tritanopia (blue-blind)
#2D5A78
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5933c2;
/* rgb */ color: rgb(89, 51, 194);
/* oklch */ color: oklch(46.1% 0.207 287.4);
Tailwind
colors: {
  custom: {
    50: '#936fd6',
    500: '#5933c2',
    950: '#000000',
  },
}
SCSS
$custom: #5933c2;
$custom-light: #936fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#5933c2",
  "rgb": {
    "r": 89,
    "g": 51,
    "b": 194
  },
  "hsl": {
    "h": 255.944,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.46062,
    "c": 0.20694,
    "h": 287.4
  },
  "luminance": 0.08387
}

Semantic roles & 50–950 ramp

primary
#5933C2
secondary
#B9CC85
accent
#E246B8
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5933C2

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

Preview Lab → · Contrast checker → · Palette generator →

#5933C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva