#5836C0#5836C0

#5836C0 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.2% C 0.201 H 286.9°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#5836C0
RGBrgb(88, 54, 192)
HSLhsl(255, 56%, 48%)
HSVhsv(255, 72%, 75%)
CMYKcmyk(54.2%, 71.9%, 0%, 24.7%)
CIE-LABlab(35.04, 49.33, -67.04)
CIE-LCHlch(35.04, 83.23, 306.35°)
OKLaboklab(46.17% 0.0586 -0.1928)
OKLCHoklch(46.17% 0.201 286.9)
XYZxyz(14.8553, 8.5180, 50.7203)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5836C0 #9EC036
analogous
#3659C0 #5836C0 #9D36C0
triadic
#5836C0 #C05836 #36C058
tetradic
#5836C0 #C03659 #9EC036 #36C09D
square
#5836C0 #C03659 #9EC036 #36C09D
split-complementary
#5836C0 #C09D36 #59C036
monochromatic
#2C1B60 #422990 #5836C0 #7D61D2 #A490E0

Accessibility & contrast

On white

7.77
#5836C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5836C0
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5836C0#FFFFFF#000000##FFFFFF
##5836C01.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C4
Deuteranopia (green-blind)
#004EBD
Tritanopia (blue-blind)
#2C5B78
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5836c0;
/* rgb */ color: rgb(88, 54, 192);
/* oklch */ color: oklch(46.2% 0.201 286.9);
Tailwind
colors: {
  custom: {
    50: '#9270d4',
    500: '#5836c0',
    950: '#000000',
  },
}
SCSS
$custom: #5836c0;
$custom-light: #9270d4;
$custom-dark: #000000;
JSON
{
  "hex": "#5836c0",
  "rgb": {
    "r": 88,
    "g": 54,
    "b": 192
  },
  "hsl": {
    "h": 254.783,
    "s": 56.098,
    "l": 48.235
  },
  "oklch": {
    "l": 0.46172,
    "c": 0.20149,
    "h": 286.9
  },
  "luminance": 0.08519
}

Semantic roles & 50–950 ramp

primary
#5836C0
secondary
#BACB87
accent
#DF48BA
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5836C0

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

Preview Lab → · Contrast checker → · Palette generator →

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