#5933CA#5933CA

#5933CA is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 46.8% C 0.216 H 286.1°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#5933CA
RGBrgb(89, 51, 202)
HSLhsl(255, 60%, 50%)
HSVhsv(255, 75%, 79%)
CMYKcmyk(55.9%, 74.8%, 0%, 20.8%)
CIE-LABlab(35.51, 53.84, -72.11)
CIE-LCHlch(35.51, 89.99, 306.74°)
OKLaboklab(46.8% 0.06 -0.2076)
OKLCHoklch(46.8% 0.216 286.1)
XYZxyz(15.9611, 8.7549, 56.7145)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5933CA #A4CA33
analogous
#3359CA #5933CA #A433CA
triadic
#5933CA #CA5933 #33CA59
tetradic
#5933CA #CA3359 #A4CA33 #33CAA4
square
#5933CA #CA3359 #A4CA33 #33CAA4
split-complementary
#5933CA #CAA433 #59CA33
monochromatic
#2E1A68 #432799 #5933CA #8063D8 #A894E4

Accessibility & contrast

On white

7.63
#5933CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#5933CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5933CA
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5933CA#FFFFFF#000000##FFFFFF
##5933CA1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CE
Deuteranopia (green-blind)
#004FC7
Tritanopia (blue-blind)
#245D7C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5933ca;
/* rgb */ color: rgb(89, 51, 202);
/* oklch */ color: oklch(46.8% 0.216 286.1);
Tailwind
colors: {
  custom: {
    50: '#946fdb',
    500: '#5933ca',
    950: '#000000',
  },
}
SCSS
$custom: #5933ca;
$custom-light: #946fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#5933ca",
  "rgb": {
    "r": 89,
    "g": 51,
    "b": 202
  },
  "hsl": {
    "h": 255.099,
    "s": 59.684,
    "l": 49.608
  },
  "oklch": {
    "l": 0.46802,
    "c": 0.21609,
    "h": 286.1
  },
  "luminance": 0.08756
}

Semantic roles & 50–950 ramp

primary
#5933CA
secondary
#BECF8A
accent
#E345BB
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5933CA

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

Preview Lab → · Contrast checker → · Palette generator →

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