#5631AC#5631AC

#5631AC is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.5% C 0.184 H 290.5°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#5631AC
RGBrgb(86, 49, 172)
HSLhsl(258, 56%, 43%)
HSVhsv(258, 72%, 67%)
CMYKcmyk(50%, 71.5%, 0%, 32.5%)
CIE-LABlab(32.15, 45.90, -59.92)
CIE-LCHlch(32.15, 75.48, 307.45°)
OKLaboklab(43.54% 0.0642 -0.1719)
OKLCHoklch(43.54% 0.184 290.5)
XYZxyz(12.3803, 7.1531, 39.7501)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5631AC #87AC31
analogous
#3149AC #5631AC #9331AC
triadic
#5631AC #AC5631 #31AC56
tetradic
#5631AC #AC3149 #87AC31 #31AC93
square
#5631AC #AC3149 #87AC31 #31AC93
split-complementary
#5631AC #AC9331 #49AC31
monochromatic
#26164D #3E237C #5631AC #744ECC #997DDA

Accessibility & contrast

On white

8.64
#5631AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#5631AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5631AC#FFFFFF#000000##FFFFFF
##5631AC1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB0
Deuteranopia (green-blind)
#0049AA
Tritanopia (blue-blind)
#39516B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5631ac;
/* rgb */ color: rgb(86, 49, 172);
/* oklch */ color: oklch(43.5% 0.184 290.5);
Tailwind
colors: {
  custom: {
    50: '#8e6cc6',
    500: '#5631ac',
    950: '#000000',
  },
}
SCSS
$custom: #5631ac;
$custom-light: #8e6cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#5631ac",
  "rgb": {
    "r": 86,
    "g": 49,
    "b": 172
  },
  "hsl": {
    "h": 258.049,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43536,
    "c": 0.18352,
    "h": 290.5
  },
  "luminance": 0.07154
}

Semantic roles & 50–950 ramp

primary
#5631AC
secondary
#ACC376
accent
#DF49B2
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5631AC

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

Preview Lab → · Contrast checker → · Palette generator →

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