#5636A2#5636A2

#5636A2 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.4% C 0.165 H 291.6°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#5636A2
RGBrgb(86, 54, 162)
HSLhsl(258, 50%, 42%)
HSVhsv(258, 67%, 64%)
CMYKcmyk(46.9%, 66.7%, 0%, 36.5%)
CIE-LABlab(32.31, 40.31, -53.65)
CIE-LCHlch(32.31, 67.10, 306.92°)
OKLaboklab(43.39% 0.0609 -0.1535)
OKLCHoklch(43.39% 0.165 291.6)
XYZxyz(11.6767, 7.2250, 34.9547)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5636A2 #82A236
analogous
#364CA2 #5636A2 #8C36A2
triadic
#5636A2 #A25636 #36A256
tetradic
#5636A2 #A2364C #82A236 #36A28C
square
#5636A2 #A2364C #82A236 #36A28C
split-complementary
#5636A2 #A28C36 #4CA236
monochromatic
#251746 #3E2774 #5636A2 #7350C5 #987ED4

Accessibility & contrast

On white

8.59
#5636A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#5636A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5636A2
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5636A2#FFFFFF#000000##FFFFFF
##5636A21.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#004AA0
Tritanopia (blue-blind)
#3F5067
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5636a2;
/* rgb */ color: rgb(86, 54, 162);
/* oklch */ color: oklch(43.4% 0.165 291.6);
Tailwind
colors: {
  custom: {
    50: '#8c6fbe',
    500: '#5636a2',
    950: '#000000',
  },
}
SCSS
$custom: #5636a2;
$custom-light: #8c6fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#5636a2",
  "rgb": {
    "r": 86,
    "g": 54,
    "b": 162
  },
  "hsl": {
    "h": 257.778,
    "s": 50,
    "l": 42.353
  },
  "oklch": {
    "l": 0.43394,
    "c": 0.16517,
    "h": 291.6
  },
  "luminance": 0.07225
}

Semantic roles & 50–950 ramp

primary
#5636A2
secondary
#A8BD77
accent
#DA4EB0
background
#F9F6FB
surface
#F1ECF7
border
#CBC7D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #5636A2

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

Preview Lab → · Contrast checker → · Palette generator →

#5636A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva