#5634AA#5634AA

#5634AA is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.8% C 0.178 H 290.3°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#5634AA
RGBrgb(86, 52, 170)
HSLhsl(257, 53%, 44%)
HSVhsv(257, 69%, 67%)
CMYKcmyk(49.4%, 69.4%, 0%, 33.3%)
CIE-LABlab(32.56, 43.73, -58.05)
CIE-LCHlch(32.56, 72.68, 306.99°)
OKLaboklab(43.77% 0.0617 -0.1665)
OKLCHoklch(43.77% 0.178 290.3)
XYZxyz(12.3194, 7.3362, 38.7893)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5634AA #88AA34
analogous
#344DAA #5634AA #9134AA
triadic
#5634AA #AA5634 #34AA56
tetradic
#5634AA #AA344D #88AA34 #34AA91
square
#5634AA #AA344D #88AA34 #34AA91
split-complementary
#5634AA #AA9134 #4DAA34
monochromatic
#27174C #3E267B #5634AA #7451CA #9A80D8

Accessibility & contrast

On white

8.51
#5634AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#5634AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5634AA
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5634AA#FFFFFF#000000##FFFFFF
##5634AA1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAE
Deuteranopia (green-blind)
#004AA8
Tritanopia (blue-blind)
#3A526B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5634aa;
/* rgb */ color: rgb(86, 52, 170);
/* oklch */ color: oklch(43.8% 0.178 290.3);
Tailwind
colors: {
  custom: {
    50: '#8d6ec4',
    500: '#5634aa',
    950: '#000000',
  },
}
SCSS
$custom: #5634aa;
$custom-light: #8d6ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#5634aa",
  "rgb": {
    "r": 86,
    "g": 52,
    "b": 170
  },
  "hsl": {
    "h": 257.288,
    "s": 53.153,
    "l": 43.529
  },
  "oklch": {
    "l": 0.43774,
    "c": 0.17756,
    "h": 290.3
  },
  "luminance": 0.07337
}

Semantic roles & 50–950 ramp

primary
#5634AA
secondary
#ACC178
accent
#DD4BB3
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5634AA

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

Preview Lab → · Contrast checker → · Palette generator →

#5634AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva