#5631C5#5631C5

#5631C5 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.8% C 0.213 H 285.9°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#5631C5
RGBrgb(86, 49, 197)
HSLhsl(255, 60%, 48%)
HSVhsv(255, 75%, 77%)
CMYKcmyk(56.3%, 75.1%, 0%, 22.7%)
CIE-LABlab(34.41, 53.00, -71.01)
CIE-LCHlch(34.41, 88.61, 306.73°)
OKLaboklab(45.82% 0.0584 -0.2045)
OKLCHoklch(45.82% 0.213 285.9)
XYZxyz(15.0111, 8.2054, 53.6053)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5631C5 #A0C531
analogous
#3156C5 #5631C5 #A031C5
triadic
#5631C5 #C55631 #31C556
tetradic
#5631C5 #C53156 #A0C531 #31C5A0
square
#5631C5 #C53156 #A0C531 #31C5A0
split-complementary
#5631C5 #C5A031 #56C531
monochromatic
#2B1963 #412594 #5631C5 #7B5DD7 #A38EE3

Accessibility & contrast

On white

7.95
#5631C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#5631C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5631C5
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5631C5#FFFFFF#000000##FFFFFF
##5631C51.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C9
Deuteranopia (green-blind)
#004CC2
Tritanopia (blue-blind)
#205B79
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5631c5;
/* rgb */ color: rgb(86, 49, 197);
/* oklch */ color: oklch(45.8% 0.213 285.9);
Tailwind
colors: {
  custom: {
    50: '#926dd8',
    500: '#5631c5',
    950: '#000000',
  },
}
SCSS
$custom: #5631c5;
$custom-light: #926dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#5631c5",
  "rgb": {
    "r": 86,
    "g": 49,
    "b": 197
  },
  "hsl": {
    "h": 255,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45818,
    "c": 0.21263,
    "h": 285.9
  },
  "luminance": 0.08206
}

Semantic roles & 50–950 ramp

primary
#5631C5
secondary
#BBCD85
accent
#E344BC
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5631C5

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

Preview Lab → · Contrast checker → · Palette generator →

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