#5836BF#5836BF

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

Color values

HEX#5836BF
RGBrgb(88, 54, 191)
HSLhsl(255, 56%, 48%)
HSVhsv(255, 72%, 75%)
CMYKcmyk(53.9%, 71.7%, 0%, 25.1%)
CIE-LABlab(34.95, 49.04, -66.60)
CIE-LCHlch(34.95, 82.71, 306.37°)
OKLaboklab(46.08% 0.0588 -0.1915)
OKLCHoklch(46.08% 0.2 287.1)
XYZxyz(14.7448, 8.4739, 50.1388)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5836BF #9DBF36
analogous
#3658BF #5836BF #9D36BF
triadic
#5836BF #BF5836 #36BF58
tetradic
#5836BF #BF3658 #9DBF36 #36BF9D
square
#5836BF #BF3658 #9DBF36 #36BF9D
split-complementary
#5836BF #BF9D36 #58BF36
monochromatic
#2C1B60 #42298F #5836BF #7C60D2 #A490E0

Accessibility & contrast

On white

7.79
#5836BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5836BF
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5836BF#FFFFFF#000000##FFFFFF
##5836BF1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C3
Deuteranopia (green-blind)
#004EBC
Tritanopia (blue-blind)
#2D5B77
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5836bf;
/* rgb */ color: rgb(88, 54, 191);
/* oklch */ color: oklch(46.1% 0.200 287.1);
Tailwind
colors: {
  custom: {
    50: '#9170d3',
    500: '#5836bf',
    950: '#000000',
  },
}
SCSS
$custom: #5836bf;
$custom-light: #9170d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5836bf",
  "rgb": {
    "r": 88,
    "g": 54,
    "b": 191
  },
  "hsl": {
    "h": 254.891,
    "s": 55.918,
    "l": 48.039
  },
  "oklch": {
    "l": 0.46082,
    "c": 0.20031,
    "h": 287.1
  },
  "luminance": 0.08475
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5836BF

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

Preview Lab → · Contrast checker → · Palette generator →

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