#5531C8#5531C8

#5531C8 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.0% C 0.216 H 285.0°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#5531C8
RGBrgb(85, 49, 200)
HSLhsl(254, 61%, 49%)
HSVhsv(254, 76%, 78%)
CMYKcmyk(57.5%, 75.5%, 0%, 21.6%)
CIE-LABlab(34.59, 53.72, -72.46)
CIE-LCHlch(34.59, 90.20, 306.55°)
OKLaboklab(46.01% 0.0561 -0.2087)
OKLCHoklch(46.01% 0.216 285)
XYZxyz(15.2668, 8.2971, 55.4294)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5531C8 #A4C831
analogous
#3158C8 #5531C8 #A131C8
triadic
#5531C8 #C85531 #31C855
tetradic
#5531C8 #C83158 #A4C831 #31C8A1
square
#5531C8 #C83158 #A4C831 #31C8A1
split-complementary
#5531C8 #C8A131 #58C831
monochromatic
#2B1966 #402597 #5531C8 #7B5FD8 #A490E4

Accessibility & contrast

On white

7.90
#5531C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#5531C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5531C8
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5531C8#FFFFFF#000000##FFFFFF
##5531C81.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CC
Deuteranopia (green-blind)
#004DC5
Tritanopia (blue-blind)
#175C7B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5531c8;
/* rgb */ color: rgb(85, 49, 200);
/* oklch */ color: oklch(46.0% 0.216 285.0);
Tailwind
colors: {
  custom: {
    50: '#926dda',
    500: '#5531c8',
    950: '#000000',
  },
}
SCSS
$custom: #5531c8;
$custom-light: #926dda;
$custom-dark: #000000;
JSON
{
  "hex": "#5531c8",
  "rgb": {
    "r": 85,
    "g": 49,
    "b": 200
  },
  "hsl": {
    "h": 254.305,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.46011,
    "c": 0.21613,
    "h": 285
  },
  "luminance": 0.08298
}

Semantic roles & 50–950 ramp

primary
#5531C8
secondary
#BDCE86
accent
#E444BE
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5531C8

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

Preview Lab → · Contrast checker → · Palette generator →

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