#5531C5#5531C5

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

Color values

HEX#5531C5
RGBrgb(85, 49, 197)
HSLhsl(255, 60%, 48%)
HSVhsv(255, 75%, 77%)
CMYKcmyk(56.9%, 75.1%, 0%, 22.7%)
CIE-LABlab(34.31, 52.86, -71.18)
CIE-LCHlch(34.31, 88.66, 306.60°)
OKLaboklab(45.73% 0.0569 -0.205)
OKLCHoklch(45.73% 0.213 285.5)
XYZxyz(14.9196, 8.1583, 53.6010)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5531C5 #A1C531
analogous
#3157C5 #5531C5 #9F31C5
triadic
#5531C5 #C55531 #31C555
tetradic
#5531C5 #C53157 #A1C531 #31C59F
square
#5531C5 #C53157 #A1C531 #31C59F
split-complementary
#5531C5 #C59F31 #57C531
monochromatic
#2B1963 #402594 #5531C5 #7A5DD7 #A28EE3

Accessibility & contrast

On white

7.98
#5531C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#5531C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5531C5
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5531C5#FFFFFF#000000##FFFFFF
##5531C51.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)
#0055C9
Deuteranopia (green-blind)
#004CC2
Tritanopia (blue-blind)
#1C5B79
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5531c5;
/* rgb */ color: rgb(85, 49, 197);
/* oklch */ color: oklch(45.7% 0.213 285.5);
Tailwind
colors: {
  custom: {
    50: '#916dd8',
    500: '#5531c5',
    950: '#000000',
  },
}
SCSS
$custom: #5531c5;
$custom-light: #916dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#5531c5",
  "rgb": {
    "r": 85,
    "g": 49,
    "b": 197
  },
  "hsl": {
    "h": 254.595,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45726,
    "c": 0.21271,
    "h": 285.5
  },
  "luminance": 0.08159
}

Semantic roles & 50–950 ramp

primary
#5531C5
secondary
#BCCD85
accent
#E344BD
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5531C5

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

Preview Lab → · Contrast checker → · Palette generator →

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