#5836AE#5836AE

#5836AE is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.6% C 0.180 H 290.2°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#5836AE
RGBrgb(88, 54, 174)
HSLhsl(257, 53%, 45%)
HSVhsv(257, 69%, 68%)
CMYKcmyk(49.4%, 69%, 0%, 31.8%)
CIE-LABlab(33.50, 44.15, -58.91)
CIE-LCHlch(33.50, 73.62, 306.85°)
OKLaboklab(44.6% 0.062 -0.1689)
OKLCHoklch(44.6% 0.18 290.2)
XYZxyz(12.9815, 7.7685, 40.8517)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5836AE #8CAE36
analogous
#3650AE #5836AE #9436AE
triadic
#5836AE #AE5836 #36AE58
tetradic
#5836AE #AE3650 #8CAE36 #36AE94
square
#5836AE #AE3650 #8CAE36 #36AE94
split-complementary
#5836AE #AE9436 #50AE36
monochromatic
#291951 #40287F #5836AE #7756CB #9D85D9

Accessibility & contrast

On white

8.22
#5836AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#5836AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5836AE#FFFFFF#000000##FFFFFF
##5836AE1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B2
Deuteranopia (green-blind)
#004CAC
Tritanopia (blue-blind)
#3B546E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5836ae;
/* rgb */ color: rgb(88, 54, 174);
/* oklch */ color: oklch(44.6% 0.180 290.2);
Tailwind
colors: {
  custom: {
    50: '#8f70c7',
    500: '#5836ae',
    950: '#000000',
  },
}
SCSS
$custom: #5836ae;
$custom-light: #8f70c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5836ae",
  "rgb": {
    "r": 88,
    "g": 54,
    "b": 174
  },
  "hsl": {
    "h": 257,
    "s": 52.632,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44596,
    "c": 0.17996,
    "h": 290.2
  },
  "luminance": 0.07769
}

Semantic roles & 50–950 ramp

primary
#5836AE
secondary
#AFC37D
accent
#DC4CB3
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5836AE

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

Preview Lab → · Contrast checker → · Palette generator →

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