#5631AA#5631AA

#5631AA is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.4% C 0.181 H 290.9°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#5631AA
RGBrgb(86, 49, 170)
HSLhsl(258, 55%, 43%)
HSVhsv(258, 71%, 67%)
CMYKcmyk(49.4%, 71.2%, 0%, 33.3%)
CIE-LABlab(31.98, 45.33, -59.00)
CIE-LCHlch(31.98, 74.40, 307.54°)
OKLaboklab(43.36% 0.0646 -0.1693)
OKLCHoklch(43.36% 0.181 290.9)
XYZxyz(12.1897, 7.0769, 38.7461)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5631AA #85AA31
analogous
#3149AA #5631AA #9231AA
triadic
#5631AA #AA5631 #31AA56
tetradic
#5631AA #AA3149 #85AA31 #31AA92
square
#5631AA #AA3149 #85AA31 #31AA92
split-complementary
#5631AA #AA9231 #49AA31
monochromatic
#26164B #3E237A #5631AA #734DCC #997CD9

Accessibility & contrast

On white

8.69
#5631AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#5631AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5631AA
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5631AA#FFFFFF#000000##FFFFFF
##5631AA1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAE
Deuteranopia (green-blind)
#0049A8
Tritanopia (blue-blind)
#3A506A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5631aa;
/* rgb */ color: rgb(86, 49, 170);
/* oklch */ color: oklch(43.4% 0.181 290.9);
Tailwind
colors: {
  custom: {
    50: '#8e6cc4',
    500: '#5631aa',
    950: '#000000',
  },
}
SCSS
$custom: #5631aa;
$custom-light: #8e6cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#5631aa",
  "rgb": {
    "r": 86,
    "g": 49,
    "b": 170
  },
  "hsl": {
    "h": 258.347,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.43361,
    "c": 0.18115,
    "h": 290.9
  },
  "luminance": 0.07077
}

Semantic roles & 50–950 ramp

primary
#5631AA
secondary
#AAC275
accent
#DF49B1
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5631AA

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

Preview Lab → · Contrast checker → · Palette generator →

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