#5631AE#5631AE

#5631AE is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.7% C 0.186 H 290.1°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#5631AE
RGBrgb(86, 49, 174)
HSLhsl(258, 56%, 44%)
HSVhsv(258, 72%, 68%)
CMYKcmyk(50.6%, 71.8%, 0%, 31.8%)
CIE-LABlab(32.33, 46.47, -60.83)
CIE-LCHlch(32.33, 76.55, 307.38°)
OKLaboklab(43.71% 0.0638 -0.1746)
OKLCHoklch(43.71% 0.186 290.1)
XYZxyz(12.5739, 7.2305, 40.7693)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5631AE #89AE31
analogous
#314AAE #5631AE #9431AE
triadic
#5631AE #AE5631 #31AE56
tetradic
#5631AE #AE314A #89AE31 #31AE94
square
#5631AE #AE314A #89AE31 #31AE94
split-complementary
#5631AE #AE9431 #4AAE31
monochromatic
#27164E #3E247E #5631AE #744FCD #9A7FDB

Accessibility & contrast

On white

8.58
#5631AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#5631AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5631AE#FFFFFF#000000##FFFFFF
##5631AE1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB2
Deuteranopia (green-blind)
#0049AC
Tritanopia (blue-blind)
#37526C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5631ae;
/* rgb */ color: rgb(86, 49, 174);
/* oklch */ color: oklch(43.7% 0.186 290.1);
Tailwind
colors: {
  custom: {
    50: '#8e6cc7',
    500: '#5631ae',
    950: '#000000',
  },
}
SCSS
$custom: #5631ae;
$custom-light: #8e6cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#5631ae",
  "rgb": {
    "r": 86,
    "g": 49,
    "b": 174
  },
  "hsl": {
    "h": 257.76,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43712,
    "c": 0.1859,
    "h": 290.1
  },
  "luminance": 0.07231
}

Semantic roles & 50–950 ramp

primary
#5631AE
secondary
#ADC477
accent
#DF48B3
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5631AE

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

Preview Lab → · Contrast checker → · Palette generator →

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