#5631CA#5631CA

#5631CA is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.3% C 0.218 H 285.2°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#5631CA
RGBrgb(86, 49, 202)
HSLhsl(255, 61%, 49%)
HSVhsv(255, 76%, 79%)
CMYKcmyk(57.4%, 75.7%, 0%, 20.8%)
CIE-LABlab(34.88, 54.41, -73.16)
CIE-LCHlch(34.88, 91.17, 306.64°)
OKLaboklab(46.29% 0.0571 -0.2107)
OKLCHoklch(46.29% 0.218 285.2)
XYZxyz(15.5935, 8.4384, 56.6727)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5631CA #A5CA31
analogous
#3159CA #5631CA #A331CA
triadic
#5631CA #CA5631 #31CA56
tetradic
#5631CA #CA3159 #A5CA31 #31CAA3
square
#5631CA #CA3159 #A5CA31 #31CAA3
split-complementary
#5631CA #CAA331 #59CA31
monochromatic
#2C1967 #412599 #5631CA #7D60D8 #A591E4

Accessibility & contrast

On white

7.81
#5631CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#5631CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5631CA
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5631CA#FFFFFF#000000##FFFFFF
##5631CA1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CE
Deuteranopia (green-blind)
#004DC7
Tritanopia (blue-blind)
#185D7C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5631ca;
/* rgb */ color: rgb(86, 49, 202);
/* oklch */ color: oklch(46.3% 0.218 285.2);
Tailwind
colors: {
  custom: {
    50: '#926edb',
    500: '#5631ca',
    950: '#000000',
  },
}
SCSS
$custom: #5631ca;
$custom-light: #926edb;
$custom-dark: #000000;
JSON
{
  "hex": "#5631ca",
  "rgb": {
    "r": 86,
    "g": 49,
    "b": 202
  },
  "hsl": {
    "h": 254.51,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.46292,
    "c": 0.21831,
    "h": 285.2
  },
  "luminance": 0.08439
}

Semantic roles & 50–950 ramp

primary
#5631CA
secondary
#BECF88
accent
#E444BD
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5631CA

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

Preview Lab → · Contrast checker → · Palette generator →

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