#5936B3#5936B3

#5936B3 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.1% C 0.186 H 289.7°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#5936B3
RGBrgb(89, 54, 179)
HSLhsl(257, 54%, 46%)
HSVhsv(257, 70%, 70%)
CMYKcmyk(50.3%, 69.8%, 0%, 29.8%)
CIE-LABlab(34.02, 45.76, -61.03)
CIE-LCHlch(34.02, 76.28, 306.86°)
OKLaboklab(45.12% 0.0626 -0.1751)
OKLCHoklch(45.12% 0.186 289.7)
XYZxyz(13.5733, 8.0163, 43.4712)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5936B3 #90B336
analogous
#3651B3 #5936B3 #9736B3
triadic
#5936B3 #B35936 #36B359
tetradic
#5936B3 #B33651 #90B336 #36B397
square
#5936B3 #B33651 #90B336 #36B397
split-complementary
#5936B3 #B39736 #51B336
monochromatic
#2A1A55 #422884 #5936B3 #7A59CD #9F88DB

Accessibility & contrast

On white

8.07
#5936B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#5936B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5936B3
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5936B3#FFFFFF#000000##FFFFFF
##5936B31.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B7
Deuteranopia (green-blind)
#004DB1
Tritanopia (blue-blind)
#3A5670
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5936b3;
/* rgb */ color: rgb(89, 54, 179);
/* oklch */ color: oklch(45.1% 0.186 289.7);
Tailwind
colors: {
  custom: {
    50: '#9070cb',
    500: '#5936b3',
    950: '#000000',
  },
}
SCSS
$custom: #5936b3;
$custom-light: #9070cb;
$custom-dark: #000000;
JSON
{
  "hex": "#5936b3",
  "rgb": {
    "r": 89,
    "g": 54,
    "b": 179
  },
  "hsl": {
    "h": 256.8,
    "s": 53.648,
    "l": 45.686
  },
  "oklch": {
    "l": 0.45122,
    "c": 0.18597,
    "h": 289.7
  },
  "luminance": 0.08017
}

Semantic roles & 50–950 ramp

primary
#5936B3
secondary
#B2C580
accent
#DD4BB4
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #5936B3

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

Preview Lab → · Contrast checker → · Palette generator →

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