#5531C1#5531C1

#5531C1 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.3% C 0.208 H 286.2°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#5531C1
RGBrgb(85, 49, 193)
HSLhsl(255, 60%, 47%)
HSVhsv(255, 75%, 76%)
CMYKcmyk(56%, 74.6%, 0%, 24.3%)
CIE-LABlab(33.94, 51.72, -69.45)
CIE-LCHlch(33.94, 86.59, 306.68°)
OKLaboklab(45.35% 0.0579 -0.1999)
OKLCHoklch(45.35% 0.208 286.2)
XYZxyz(14.4674, 7.9774, 51.2192)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5531C1 #9DC131
analogous
#3155C1 #5531C1 #9D31C1
triadic
#5531C1 #C15531 #31C155
tetradic
#5531C1 #C13155 #9DC131 #31C19D
square
#5531C1 #C13155 #9DC131 #31C19D
split-complementary
#5531C1 #C19D31 #55C131
monochromatic
#2A185F #402590 #5531C1 #795AD5 #A18BE2

Accessibility & contrast

On white

8.09
#5531C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5531C1
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5531C1#FFFFFF#000000##FFFFFF
##5531C11.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C5
Deuteranopia (green-blind)
#004CBE
Tritanopia (blue-blind)
#225977
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5531c1;
/* rgb */ color: rgb(85, 49, 193);
/* oklch */ color: oklch(45.3% 0.208 286.2);
Tailwind
colors: {
  custom: {
    50: '#906dd5',
    500: '#5531c1',
    950: '#000000',
  },
}
SCSS
$custom: #5531c1;
$custom-light: #906dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#5531c1",
  "rgb": {
    "r": 85,
    "g": 49,
    "b": 193
  },
  "hsl": {
    "h": 255,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45349,
    "c": 0.20813,
    "h": 286.2
  },
  "luminance": 0.07978
}

Semantic roles & 50–950 ramp

primary
#5531C1
secondary
#B9CC82
accent
#E345BB
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5531C1

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

Preview Lab → · Contrast checker → · Palette generator →

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