#5936CD#5936CD

#5936CD is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.4% C 0.217 H 285.3°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#5936CD
RGBrgb(89, 54, 205)
HSLhsl(254, 60%, 51%)
HSVhsv(254, 74%, 80%)
CMYKcmyk(56.6%, 73.7%, 0%, 19.6%)
CIE-LABlab(36.31, 53.21, -72.54)
CIE-LCHlch(36.31, 89.96, 306.26°)
OKLaboklab(47.45% 0.0571 -0.2089)
OKLCHoklch(47.45% 0.217 285.3)
XYZxyz(16.4551, 9.1690, 58.6485)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5936CD #AACD36
analogous
#365ECD #5936CD #A436CD
triadic
#5936CD #CD5936 #36CD59
tetradic
#5936CD #CD365E #AACD36 #36CDA4
square
#5936CD #CD365E #AACD36 #36CDA4
split-complementary
#5936CD #CDA436 #5ECD36
monochromatic
#2E1B6D #43279E #5936CD #8167D9 #AA98E5

Accessibility & contrast

On white

7.41
#5936CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#5936CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5936CD
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5936CD#FFFFFF#000000##FFFFFF
##5936CD1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D1
Deuteranopia (green-blind)
#0051CA
Tritanopia (blue-blind)
#1F607F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5936cd;
/* rgb */ color: rgb(89, 54, 205);
/* oklch */ color: oklch(47.4% 0.217 285.3);
Tailwind
colors: {
  custom: {
    50: '#9471dd',
    500: '#5936cd',
    950: '#000000',
  },
}
SCSS
$custom: #5936cd;
$custom-light: #9471dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5936cd",
  "rgb": {
    "r": 89,
    "g": 54,
    "b": 205
  },
  "hsl": {
    "h": 253.907,
    "s": 60.159,
    "l": 50.784
  },
  "oklch": {
    "l": 0.47449,
    "c": 0.21653,
    "h": 285.3
  },
  "luminance": 0.0917
}

Semantic roles & 50–950 ramp

primary
#5936CD
secondary
#C1D18E
accent
#E344BE
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5936CD

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

Preview Lab → · Contrast checker → · Palette generator →

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