#5936CC#5936CC

#5936CC is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.4% C 0.215 H 285.4°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#5936CC
RGBrgb(89, 54, 204)
HSLhsl(254, 60%, 51%)
HSVhsv(254, 74%, 80%)
CMYKcmyk(56.4%, 73.5%, 0%, 20%)
CIE-LABlab(36.22, 52.92, -72.11)
CIE-LCHlch(36.22, 89.45, 306.27°)
OKLaboklab(47.36% 0.0573 -0.2076)
OKLCHoklch(47.36% 0.215 285.4)
XYZxyz(16.3348, 9.1209, 58.0148)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5936CC #A9CC36
analogous
#365ECC #5936CC #A436CC
triadic
#5936CC #CC5936 #36CC59
tetradic
#5936CC #CC365E #A9CC36 #36CCA4
square
#5936CC #CC365E #A9CC36 #36CCA4
split-complementary
#5936CC #CCA436 #5ECC36
monochromatic
#2E1B6C #43289D #5936CC #8167D8 #AA98E5

Accessibility & contrast

On white

7.44
#5936CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#5936CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5936CC
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5936CC#FFFFFF#000000##FFFFFF
##5936CC1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D0
Deuteranopia (green-blind)
#0051C9
Tritanopia (blue-blind)
#205F7E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5936cc;
/* rgb */ color: rgb(89, 54, 204);
/* oklch */ color: oklch(47.4% 0.215 285.4);
Tailwind
colors: {
  custom: {
    50: '#9471dd',
    500: '#5936cc',
    950: '#000000',
  },
}
SCSS
$custom: #5936cc;
$custom-light: #9471dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5936cc",
  "rgb": {
    "r": 89,
    "g": 54,
    "b": 204
  },
  "hsl": {
    "h": 254,
    "s": 59.524,
    "l": 50.588
  },
  "oklch": {
    "l": 0.47357,
    "c": 0.21538,
    "h": 285.4
  },
  "luminance": 0.09122
}

Semantic roles & 50–950 ramp

primary
#5936CC
secondary
#C1D08E
accent
#E345BE
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5936CC

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

Preview Lab → · Contrast checker → · Palette generator →

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