#5531C2#5531C2

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

Color values

HEX#5531C2
RGBrgb(85, 49, 194)
HSLhsl(255, 60%, 48%)
HSVhsv(255, 75%, 76%)
CMYKcmyk(56.2%, 74.7%, 0%, 23.9%)
CIE-LABlab(34.03, 52.01, -69.88)
CIE-LCHlch(34.03, 87.11, 306.66°)
OKLaboklab(45.44% 0.0577 -0.2012)
OKLCHoklch(45.44% 0.209 286)
XYZxyz(14.5793, 8.0221, 51.8087)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5531C2 #9EC231
analogous
#3155C2 #5531C2 #9E31C2
triadic
#5531C2 #C25531 #31C255
tetradic
#5531C2 #C23155 #9EC231 #31C29E
square
#5531C2 #C23155 #9EC231 #31C29E
split-complementary
#5531C2 #C29E31 #55C231
monochromatic
#2A1860 #402591 #5531C2 #795BD6 #A18CE2

Accessibility & contrast

On white

8.06
#5531C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#5531C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5531C2
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5531C2#FFFFFF#000000##FFFFFF
##5531C21.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C6
Deuteranopia (green-blind)
#004CBF
Tritanopia (blue-blind)
#215A77
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5531c2;
/* rgb */ color: rgb(85, 49, 194);
/* oklch */ color: oklch(45.4% 0.209 286.0);
Tailwind
colors: {
  custom: {
    50: '#916dd6',
    500: '#5531c2',
    950: '#000000',
  },
}
SCSS
$custom: #5531c2;
$custom-light: #916dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#5531c2",
  "rgb": {
    "r": 85,
    "g": 49,
    "b": 194
  },
  "hsl": {
    "h": 254.897,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45443,
    "c": 0.20928,
    "h": 286
  },
  "luminance": 0.08023
}

Semantic roles & 50–950 ramp

primary
#5531C2
secondary
#BACC83
accent
#E345BC
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5531C2

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

Preview Lab → · Contrast checker → · Palette generator →

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