#5631BD#5631BD

#5631BD is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.1% C 0.203 H 287.3°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#5631BD
RGBrgb(86, 49, 189)
HSLhsl(256, 59%, 47%)
HSVhsv(256, 74%, 74%)
CMYKcmyk(54.5%, 74.1%, 0%, 25.9%)
CIE-LABlab(33.67, 50.73, -67.54)
CIE-LCHlch(33.67, 84.47, 306.91°)
OKLaboklab(45.07% 0.0604 -0.1943)
OKLCHoklch(45.07% 0.203 287.3)
XYZxyz(14.1186, 7.8484, 48.9052)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5631BD #98BD31
analogous
#3152BD #5631BD #9C31BD
triadic
#5631BD #BD5631 #31BD56
tetradic
#5631BD #BD3152 #98BD31 #31BD9C
square
#5631BD #BD3152 #98BD31 #31BD9C
split-complementary
#5631BD #BD9C31 #52BD31
monochromatic
#2A185C #40248C #5631BD #7858D4 #9F88E0

Accessibility & contrast

On white

8.17
#5631BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#5631BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5631BD#FFFFFF#000000##FFFFFF
##5631BD1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C1
Deuteranopia (green-blind)
#004BBA
Tritanopia (blue-blind)
#2A5775
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5631bd;
/* rgb */ color: rgb(86, 49, 189);
/* oklch */ color: oklch(45.1% 0.203 287.3);
Tailwind
colors: {
  custom: {
    50: '#906dd2',
    500: '#5631bd',
    950: '#000000',
  },
}
SCSS
$custom: #5631bd;
$custom-light: #906dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5631bd",
  "rgb": {
    "r": 86,
    "g": 49,
    "b": 189
  },
  "hsl": {
    "h": 255.857,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.4507,
    "c": 0.20344,
    "h": 287.3
  },
  "luminance": 0.07849
}

Semantic roles & 50–950 ramp

primary
#5631BD
secondary
#B6CA80
accent
#E246B9
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5631BD

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

Preview Lab → · Contrast checker → · Palette generator →

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