#5631BF#5631BF

#5631BF is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.3% C 0.206 H 286.9°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#5631BF
RGBrgb(86, 49, 191)
HSLhsl(256, 59%, 47%)
HSVhsv(256, 74%, 75%)
CMYKcmyk(55%, 74.3%, 0%, 25.1%)
CIE-LABlab(33.85, 51.30, -68.41)
CIE-LCHlch(33.85, 85.51, 306.86°)
OKLaboklab(45.26% 0.0599 -0.1968)
OKLCHoklch(45.26% 0.206 286.9)
XYZxyz(14.3372, 7.9359, 50.0564)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5631BF #9ABF31
analogous
#3153BF #5631BF #9D31BF
triadic
#5631BF #BF5631 #31BF56
tetradic
#5631BF #BF3153 #9ABF31 #31BF9D
square
#5631BF #BF3153 #9ABF31 #31BF9D
split-complementary
#5631BF #BF9D31 #53BF31
monochromatic
#2A185E #40258E #5631BF #7959D4 #A08AE1

Accessibility & contrast

On white

8.12
#5631BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#5631BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5631BF#FFFFFF#000000##FFFFFF
##5631BF1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C3
Deuteranopia (green-blind)
#004CBC
Tritanopia (blue-blind)
#285876
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5631bf;
/* rgb */ color: rgb(86, 49, 191);
/* oklch */ color: oklch(45.3% 0.206 286.9);
Tailwind
colors: {
  custom: {
    50: '#916dd3',
    500: '#5631bf',
    950: '#000000',
  },
}
SCSS
$custom: #5631bf;
$custom-light: #916dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5631bf",
  "rgb": {
    "r": 86,
    "g": 49,
    "b": 191
  },
  "hsl": {
    "h": 255.634,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45256,
    "c": 0.20574,
    "h": 286.9
  },
  "luminance": 0.07937
}

Semantic roles & 50–950 ramp

primary
#5631BF
secondary
#B8CB81
accent
#E245B9
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5631BF

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

Preview Lab → · Contrast checker → · Palette generator →

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