#5631BC#5631BC

#5631BC is a dark, highly saturated violet. Relative luminance 0.078; OKLCH L 45.0% C 0.202 H 287.4°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#5631BC
RGBrgb(86, 49, 188)
HSLhsl(256, 59%, 46%)
HSVhsv(256, 74%, 74%)
CMYKcmyk(54.3%, 73.9%, 0%, 26.3%)
CIE-LABlab(33.57, 50.44, -67.10)
CIE-LCHlch(33.57, 83.94, 306.94°)
OKLaboklab(44.98% 0.0606 -0.193)
OKLCHoklch(44.98% 0.202 287.4)
XYZxyz(14.0105, 7.8052, 48.3355)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5631BC #97BC31
analogous
#3152BC #5631BC #9C31BC
triadic
#5631BC #BC5631 #31BC56
tetradic
#5631BC #BC3152 #97BC31 #31BC9C
square
#5631BC #BC3152 #97BC31 #31BC9C
split-complementary
#5631BC #BC9C31 #52BC31
monochromatic
#2A185B #40248B #5631BC #7857D3 #9F88E0

Accessibility & contrast

On white

8.20
#5631BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#5631BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5631BC
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5631BC#FFFFFF#000000##FFFFFF
##5631BC1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C0
Deuteranopia (green-blind)
#004BB9
Tritanopia (blue-blind)
#2B5774
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5631bc;
/* rgb */ color: rgb(86, 49, 188);
/* oklch */ color: oklch(45.0% 0.202 287.4);
Tailwind
colors: {
  custom: {
    50: '#906dd1',
    500: '#5631bc',
    950: '#000000',
  },
}
SCSS
$custom: #5631bc;
$custom-light: #906dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5631bc",
  "rgb": {
    "r": 86,
    "g": 49,
    "b": 188
  },
  "hsl": {
    "h": 255.971,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.44978,
    "c": 0.20228,
    "h": 287.4
  },
  "luminance": 0.07806
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5631BC

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

Preview Lab → · Contrast checker → · Palette generator →

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