#5933CC#5933CC

#5933CC is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.0% C 0.218 H 285.8°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#5933CC
RGBrgb(89, 51, 204)
HSLhsl(255, 60%, 50%)
HSVhsv(255, 75%, 80%)
CMYKcmyk(56.4%, 75%, 0%, 20%)
CIE-LABlab(35.69, 54.40, -72.97)
CIE-LCHlch(35.69, 91.02, 306.70°)
OKLaboklab(46.99% 0.0595 -0.2101)
OKLCHoklch(46.99% 0.218 285.8)
XYZxyz(16.1994, 8.8502, 57.9697)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5933CC #A6CC33
analogous
#3359CC #5933CC #A633CC
triadic
#5933CC #CC5933 #33CC59
tetradic
#5933CC #CC3359 #A6CC33 #33CCA6
square
#5933CC #CC3359 #A6CC33 #33CCA6
split-complementary
#5933CC #CCA633 #59CC33
monochromatic
#2E1B6A #44279B #5933CC #8164D8 #A995E4

Accessibility & contrast

On white

7.58
#5933CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#5933CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5933CC
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5933CC#FFFFFF#000000##FFFFFF
##5933CC1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D0
Deuteranopia (green-blind)
#004FC9
Tritanopia (blue-blind)
#215E7E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5933cc;
/* rgb */ color: rgb(89, 51, 204);
/* oklch */ color: oklch(47.0% 0.218 285.8);
Tailwind
colors: {
  custom: {
    50: '#946fdd',
    500: '#5933cc',
    950: '#000000',
  },
}
SCSS
$custom: #5933cc;
$custom-light: #946fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5933cc",
  "rgb": {
    "r": 89,
    "g": 51,
    "b": 204
  },
  "hsl": {
    "h": 254.902,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.4699,
    "c": 0.21837,
    "h": 285.8
  },
  "luminance": 0.08851
}

Semantic roles & 50–950 ramp

primary
#5933CC
secondary
#BFD08B
accent
#E345BC
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5933CC

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

Preview Lab → · Contrast checker → · Palette generator →

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