#5631BE#5631BE

#5631BE is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.2% C 0.205 H 287.1°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#5631BE
RGBrgb(86, 49, 190)
HSLhsl(256, 59%, 47%)
HSVhsv(256, 74%, 75%)
CMYKcmyk(54.7%, 74.2%, 0%, 25.5%)
CIE-LABlab(33.76, 51.01, -67.97)
CIE-LCHlch(33.76, 84.99, 306.89°)
OKLaboklab(45.16% 0.0601 -0.1956)
OKLCHoklch(45.16% 0.205 287.1)
XYZxyz(14.2276, 7.8920, 49.4788)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5631BE #99BE31
analogous
#3152BE #5631BE #9D31BE
triadic
#5631BE #BE5631 #31BE56
tetradic
#5631BE #BE3152 #99BE31 #31BE9D
square
#5631BE #BE3152 #99BE31 #31BE9D
split-complementary
#5631BE #BE9D31 #52BE31
monochromatic
#2A185D #40248D #5631BE #7958D4 #A089E1

Accessibility & contrast

On white

8.14
#5631BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#5631BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5631BE
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5631BE#FFFFFF#000000##FFFFFF
##5631BE1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C2
Deuteranopia (green-blind)
#004BBB
Tritanopia (blue-blind)
#295875
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5631be;
/* rgb */ color: rgb(86, 49, 190);
/* oklch */ color: oklch(45.2% 0.205 287.1);
Tailwind
colors: {
  custom: {
    50: '#916dd3',
    500: '#5631be',
    950: '#000000',
  },
}
SCSS
$custom: #5631be;
$custom-light: #916dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5631be",
  "rgb": {
    "r": 86,
    "g": 49,
    "b": 190
  },
  "hsl": {
    "h": 255.745,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.45163,
    "c": 0.20459,
    "h": 287.1
  },
  "luminance": 0.07893
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5631BE

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

Preview Lab → · Contrast checker → · Palette generator →

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