#5631C4#5631C4

#5631C4 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.7% C 0.211 H 286.1°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#5631C4
RGBrgb(86, 49, 196)
HSLhsl(255, 60%, 48%)
HSVhsv(255, 75%, 77%)
CMYKcmyk(56.1%, 75%, 0%, 23.1%)
CIE-LABlab(34.31, 52.71, -70.58)
CIE-LCHlch(34.31, 88.09, 306.75°)
OKLaboklab(45.72% 0.0586 -0.2032)
OKLCHoklch(45.72% 0.211 286.1)
XYZxyz(14.8969, 8.1597, 53.0039)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5631C4 #9FC431
analogous
#3155C4 #5631C4 #9F31C4
triadic
#5631C4 #C45631 #31C456
tetradic
#5631C4 #C43155 #9FC431 #31C49F
square
#5631C4 #C43155 #9FC431 #31C49F
split-complementary
#5631C4 #C49F31 #55C431
monochromatic
#2B1962 #412593 #5631C4 #7B5CD6 #A28DE2

Accessibility & contrast

On white

7.98
#5631C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#5631C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5631C4
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5631C4#FFFFFF#000000##FFFFFF
##5631C41.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C8
Deuteranopia (green-blind)
#004CC1
Tritanopia (blue-blind)
#225A78
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5631c4;
/* rgb */ color: rgb(86, 49, 196);
/* oklch */ color: oklch(45.7% 0.211 286.1);
Tailwind
colors: {
  custom: {
    50: '#916dd7',
    500: '#5631c4',
    950: '#000000',
  },
}
SCSS
$custom: #5631c4;
$custom-light: #916dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#5631c4",
  "rgb": {
    "r": 86,
    "g": 49,
    "b": 196
  },
  "hsl": {
    "h": 255.102,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45723,
    "c": 0.21148,
    "h": 286.1
  },
  "luminance": 0.08161
}

Semantic roles & 50–950 ramp

primary
#5631C4
secondary
#BACD84
accent
#E345BB
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5631C4

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

Preview Lab → · Contrast checker → · Palette generator →

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