#5639AF#5639AF

#5639AF is a dark, vivid violet. Relative luminance 0.080; OKLCH L 44.9% C 0.178 H 288.4°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#5639AF
RGBrgb(86, 57, 175)
HSLhsl(255, 51%, 45%)
HSVhsv(255, 67%, 69%)
CMYKcmyk(50.9%, 67.4%, 0%, 31.4%)
CIE-LABlab(33.98, 42.42, -58.72)
CIE-LCHlch(33.98, 72.44, 305.84°)
OKLaboklab(44.92% 0.0561 -0.1685)
OKLCHoklch(44.92% 0.178 288.4)
XYZxyz(13.0365, 7.9992, 41.4062)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5639AF #92AF39
analogous
#3957AF #5639AF #9139AF
triadic
#5639AF #AF5639 #39AF56
tetradic
#5639AF #AF3957 #92AF39 #39AF91
square
#5639AF #AF3957 #92AF39 #39AF91
split-complementary
#5639AF #AF9139 #57AF39
monochromatic
#291B53 #3F2A81 #5639AF #775BCA #9D8AD9

Accessibility & contrast

On white

8.08
#5639AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#5639AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5639AF
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5639AF#FFFFFF#000000##FFFFFF
##5639AF1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B3
Deuteranopia (green-blind)
#004DAD
Tritanopia (blue-blind)
#36566F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5639af;
/* rgb */ color: rgb(86, 57, 175);
/* oklch */ color: oklch(44.9% 0.178 288.4);
Tailwind
colors: {
  custom: {
    50: '#8e71c8',
    500: '#5639af',
    950: '#000000',
  },
}
SCSS
$custom: #5639af;
$custom-light: #8e71c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5639af",
  "rgb": {
    "r": 86,
    "g": 57,
    "b": 175
  },
  "hsl": {
    "h": 254.746,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.44922,
    "c": 0.17755,
    "h": 288.4
  },
  "luminance": 0.08
}

Semantic roles & 50–950 ramp

primary
#5639AF
secondary
#B3C381
accent
#DA4DB8
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #5639AF

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

Preview Lab → · Contrast checker → · Palette generator →

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