#5631C1#5631C1

#5631C1 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.4% C 0.208 H 286.6°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#5631C1
RGBrgb(86, 49, 193)
HSLhsl(255, 60%, 47%)
HSVhsv(255, 75%, 76%)
CMYKcmyk(55.4%, 74.6%, 0%, 24.3%)
CIE-LABlab(34.03, 51.86, -69.28)
CIE-LCHlch(34.03, 86.54, 306.82°)
OKLaboklab(45.44% 0.0594 -0.1994)
OKLCHoklch(45.44% 0.208 286.6)
XYZxyz(14.5588, 8.0245, 51.2235)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5631C1 #9CC131
analogous
#3154C1 #5631C1 #9E31C1
triadic
#5631C1 #C15631 #31C156
tetradic
#5631C1 #C13154 #9CC131 #31C19E
square
#5631C1 #C13154 #9CC131 #31C19E
split-complementary
#5631C1 #C19E31 #54C131
monochromatic
#2B185F #402590 #5631C1 #7A5AD5 #A18BE2

Accessibility & contrast

On white

8.06
#5631C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#5631C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5631C1
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5631C1#FFFFFF#000000##FFFFFF
##5631C11.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C5
Deuteranopia (green-blind)
#004CBE
Tritanopia (blue-blind)
#265977
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5631c1;
/* rgb */ color: rgb(86, 49, 193);
/* oklch */ color: oklch(45.4% 0.208 286.6);
Tailwind
colors: {
  custom: {
    50: '#916dd5',
    500: '#5631c1',
    950: '#000000',
  },
}
SCSS
$custom: #5631c1;
$custom-light: #916dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#5631c1",
  "rgb": {
    "r": 86,
    "g": 49,
    "b": 193
  },
  "hsl": {
    "h": 255.417,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45442,
    "c": 0.20804,
    "h": 286.6
  },
  "luminance": 0.08025
}

Semantic roles & 50–950 ramp

primary
#5631C1
secondary
#B9CC82
accent
#E345BA
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5631C1

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

Preview Lab → · Contrast checker → · Palette generator →

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