#5836AA#5836AA

#5836AA is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.3% C 0.175 H 291.0°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#5836AA
RGBrgb(88, 54, 170)
HSLhsl(258, 52%, 44%)
HSVhsv(258, 68%, 67%)
CMYKcmyk(48.2%, 68.2%, 0%, 33.3%)
CIE-LABlab(33.17, 43.00, -57.06)
CIE-LCHlch(33.17, 71.44, 307.00°)
OKLaboklab(44.26% 0.0626 -0.1635)
OKLCHoklch(44.26% 0.175 291)
XYZxyz(12.5973, 7.6149, 38.8285)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5836AA #88AA36
analogous
#364EAA #5836AA #9236AA
triadic
#5836AA #AA5836 #36AA58
tetradic
#5836AA #AA364E #88AA36 #36AA92
square
#5836AA #AA364E #88AA36 #36AA92
split-complementary
#5836AA #AA9236 #4EAA36
monochromatic
#28184D #40277C #5836AA #7754C9 #9C83D8

Accessibility & contrast

On white

8.32
#5836AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#5836AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5836AA#FFFFFF#000000##FFFFFF
##5836AA1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AE
Deuteranopia (green-blind)
#004BA8
Tritanopia (blue-blind)
#3E536B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5836aa;
/* rgb */ color: rgb(88, 54, 170);
/* oklch */ color: oklch(44.3% 0.175 291.0);
Tailwind
colors: {
  custom: {
    50: '#8e6fc4',
    500: '#5836aa',
    950: '#000000',
  },
}
SCSS
$custom: #5836aa;
$custom-light: #8e6fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#5836aa",
  "rgb": {
    "r": 88,
    "g": 54,
    "b": 170
  },
  "hsl": {
    "h": 257.586,
    "s": 51.786,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44258,
    "c": 0.17508,
    "h": 291
  },
  "luminance": 0.07615
}

Semantic roles & 50–950 ramp

primary
#5836AA
secondary
#ACC17B
accent
#DB4DB1
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5836AA

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

Preview Lab → · Contrast checker → · Palette generator →

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