#5631BB#5631BB

#5631BB is a dark, highly saturated violet. Relative luminance 0.078; OKLCH L 44.9% C 0.201 H 287.6°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#5631BB
RGBrgb(86, 49, 187)
HSLhsl(256, 58%, 46%)
HSVhsv(256, 74%, 73%)
CMYKcmyk(54%, 73.8%, 0%, 26.7%)
CIE-LABlab(33.48, 50.16, -66.66)
CIE-LCHlch(33.48, 83.42, 306.96°)
OKLaboklab(44.89% 0.0608 -0.1917)
OKLCHoklch(44.89% 0.201 287.6)
XYZxyz(13.9031, 7.7622, 47.7697)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5631BB #96BB31
analogous
#3151BB #5631BB #9B31BB
triadic
#5631BB #BB5631 #31BB56
tetradic
#5631BB #BB3151 #96BB31 #31BB9B
square
#5631BB #BB3151 #96BB31 #31BB9B
split-complementary
#5631BB #BB9B31 #51BB31
monochromatic
#29185A #40248B #5631BB #7856D3 #9F87E0

Accessibility & contrast

On white

8.23
#5631BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#5631BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5631BB#FFFFFF#000000##FFFFFF
##5631BB1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BF
Deuteranopia (green-blind)
#004BB8
Tritanopia (blue-blind)
#2C5773
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5631bb;
/* rgb */ color: rgb(86, 49, 187);
/* oklch */ color: oklch(44.9% 0.201 287.6);
Tailwind
colors: {
  custom: {
    50: '#906dd1',
    500: '#5631bb',
    950: '#000000',
  },
}
SCSS
$custom: #5631bb;
$custom-light: #906dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5631bb",
  "rgb": {
    "r": 86,
    "g": 49,
    "b": 187
  },
  "hsl": {
    "h": 256.087,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.44886,
    "c": 0.20112,
    "h": 287.6
  },
  "luminance": 0.07763
}

Semantic roles & 50–950 ramp

primary
#5631BB
secondary
#B5C97F
accent
#E246B8
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5631BB

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

Preview Lab → · Contrast checker → · Palette generator →

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