#5836D1#5836D1

#5836D1 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.7% C 0.221 H 284.3°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#5836D1
RGBrgb(88, 54, 209)
HSLhsl(253, 63%, 52%)
HSVhsv(253, 74%, 82%)
CMYKcmyk(57.9%, 74.2%, 0%, 18%)
CIE-LABlab(36.58, 54.22, -74.41)
CIE-LCHlch(36.58, 92.07, 306.08°)
OKLaboklab(47.73% 0.0547 -0.2144)
OKLCHoklch(47.73% 0.221 284.3)
XYZxyz(16.8488, 9.3154, 61.2195)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5836D1 #AFD136
analogous
#3662D1 #5836D1 #A536D1
triadic
#5836D1 #D15836 #36D158
tetradic
#5836D1 #D13662 #AFD136 #36D1A5
square
#5836D1 #D13662 #AFD136 #36D1A5
split-complementary
#5836D1 #D1A536 #62D136
monochromatic
#2E1A72 #4126A4 #5836D1 #8168DC #AB9AE8

Accessibility & contrast

On white

7.33
#5836D1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#5836D1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5836D1
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5836D1#FFFFFF#000000##FFFFFF
##5836D11.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD5
Deuteranopia (green-blind)
#0051CE
Tritanopia (blue-blind)
#116181
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5836d1;
/* rgb */ color: rgb(88, 54, 209);
/* oklch */ color: oklch(47.7% 0.221 284.3);
Tailwind
colors: {
  custom: {
    50: '#9471e0',
    500: '#5836d1',
    950: '#000000',
  },
}
SCSS
$custom: #5836d1;
$custom-light: #9471e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5836d1",
  "rgb": {
    "r": 88,
    "g": 54,
    "b": 209
  },
  "hsl": {
    "h": 253.161,
    "s": 62.753,
    "l": 51.569
  },
  "oklch": {
    "l": 0.47734,
    "c": 0.22123,
    "h": 284.3
  },
  "luminance": 0.09316
}

Semantic roles & 50–950 ramp

primary
#5836D1
secondary
#C5D38F
accent
#E642C2
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5836D1

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

Preview Lab → · Contrast checker → · Palette generator →

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