#5936BF#5936BF

#5936BF is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.2% C 0.200 H 287.5°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#5936BF
RGBrgb(89, 54, 191)
HSLhsl(255, 56%, 48%)
HSVhsv(255, 72%, 75%)
CMYKcmyk(53.4%, 71.7%, 0%, 25.1%)
CIE-LABlab(35.05, 49.20, -66.43)
CIE-LCHlch(35.05, 82.67, 306.52°)
OKLaboklab(46.18% 0.0602 -0.191)
OKLCHoklch(46.18% 0.2 287.5)
XYZxyz(14.8402, 8.5230, 50.1433)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5936BF #9CBF36
analogous
#3658BF #5936BF #9D36BF
triadic
#5936BF #BF5936 #36BF59
tetradic
#5936BF #BF3658 #9CBF36 #36BF9D
square
#5936BF #BF3658 #9CBF36 #36BF9D
split-complementary
#5936BF #BF9D36 #58BF36
monochromatic
#2D1B60 #43298F #5936BF #7D60D2 #A490E0

Accessibility & contrast

On white

7.76
#5936BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#5936BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5936BF
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5936BF#FFFFFF#000000##FFFFFF
##5936BF1.007.762.707.76
#FFFFFF7.761.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C3
Deuteranopia (green-blind)
#004FBC
Tritanopia (blue-blind)
#305A77
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5936bf;
/* rgb */ color: rgb(89, 54, 191);
/* oklch */ color: oklch(46.2% 0.200 287.5);
Tailwind
colors: {
  custom: {
    50: '#9270d3',
    500: '#5936bf',
    950: '#000000',
  },
}
SCSS
$custom: #5936bf;
$custom-light: #9270d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5936bf",
  "rgb": {
    "r": 89,
    "g": 54,
    "b": 191
  },
  "hsl": {
    "h": 255.328,
    "s": 55.918,
    "l": 48.039
  },
  "oklch": {
    "l": 0.46175,
    "c": 0.20024,
    "h": 287.5
  },
  "luminance": 0.08524
}

Semantic roles & 50–950 ramp

primary
#5936BF
secondary
#B9CA87
accent
#DF49B9
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5936BF

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

Preview Lab → · Contrast checker → · Palette generator →

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