#5637AF#5637AF

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

Color values

HEX#5637AF
RGBrgb(86, 55, 175)
HSLhsl(256, 52%, 45%)
HSVhsv(256, 69%, 69%)
CMYKcmyk(50.9%, 68.6%, 0%, 31.4%)
CIE-LABlab(33.57, 43.53, -59.39)
CIE-LCHlch(33.57, 73.64, 306.24°)
OKLaboklab(44.63% 0.058 -0.1704)
OKLCHoklch(44.63% 0.18 288.8)
XYZxyz(12.9396, 7.8054, 41.3739)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5637AF #90AF37
analogous
#3754AF #5637AF #9237AF
triadic
#5637AF #AF5637 #37AF56
tetradic
#5637AF #AF3754 #90AF37 #37AF92
square
#5637AF #AF3754 #90AF37 #37AF92
split-complementary
#5637AF #AF9237 #54AF37
monochromatic
#281A52 #3F2880 #5637AF #7659CB #9C87D9

Accessibility & contrast

On white

8.20
#5637AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#5637AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5637AF
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5637AF#FFFFFF#000000##FFFFFF
##5637AF1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5637af;
/* rgb */ color: rgb(86, 55, 175);
/* oklch */ color: oklch(44.6% 0.180 288.8);
Tailwind
colors: {
  custom: {
    50: '#8e70c8',
    500: '#5637af',
    950: '#000000',
  },
}
SCSS
$custom: #5637af;
$custom-light: #8e70c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5637af",
  "rgb": {
    "r": 86,
    "g": 55,
    "b": 175
  },
  "hsl": {
    "h": 255.5,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.44629,
    "c": 0.18001,
    "h": 288.8
  },
  "luminance": 0.07806
}

Semantic roles & 50–950 ramp

primary
#5637AF
secondary
#B2C37F
accent
#DC4CB7
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #5637AF

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

Preview Lab → · Contrast checker → · Palette generator →

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