#5636AF#5636AF

#5636AF is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.5% C 0.181 H 289.0°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#5636AF
RGBrgb(86, 54, 175)
HSLhsl(256, 53%, 45%)
HSVhsv(256, 69%, 69%)
CMYKcmyk(50.9%, 69.1%, 0%, 31.4%)
CIE-LABlab(33.37, 44.08, -59.71)
CIE-LCHlch(33.37, 74.22, 306.44°)
OKLaboklab(44.49% 0.059 -0.1714)
OKLCHoklch(44.49% 0.181 289)
XYZxyz(12.8925, 7.7113, 41.3582)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5636AF #8FAF36
analogous
#3652AF #5636AF #9336AF
triadic
#5636AF #AF5636 #36AF56
tetradic
#5636AF #AF3652 #8FAF36 #36AF93
square
#5636AF #AF3652 #8FAF36 #36AF93
split-complementary
#5636AF #AF9336 #52AF36
monochromatic
#281951 #3F2880 #5636AF #7657CB #9C86DA

Accessibility & contrast

On white

8.26
#5636AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#5636AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5636AF
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5636AF#FFFFFF#000000##FFFFFF
##5636AF1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#004BAD
Tritanopia (blue-blind)
#36556E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5636af;
/* rgb */ color: rgb(86, 54, 175);
/* oklch */ color: oklch(44.5% 0.181 289.0);
Tailwind
colors: {
  custom: {
    50: '#8e6fc8',
    500: '#5636af',
    950: '#000000',
  },
}
SCSS
$custom: #5636af;
$custom-light: #8e6fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#5636af",
  "rgb": {
    "r": 86,
    "g": 54,
    "b": 175
  },
  "hsl": {
    "h": 255.868,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.44486,
    "c": 0.18123,
    "h": 289
  },
  "luminance": 0.07712
}

Semantic roles & 50–950 ramp

primary
#5636AF
secondary
#B1C37D
accent
#DC4CB6
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5636AF

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

Preview Lab → · Contrast checker → · Palette generator →

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