#5531C4#5531C4

#5531C4 is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.6% C 0.212 H 285.7°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#5531C4
RGBrgb(85, 49, 196)
HSLhsl(255, 60%, 48%)
HSVhsv(255, 75%, 77%)
CMYKcmyk(56.6%, 75%, 0%, 23.1%)
CIE-LABlab(34.22, 52.58, -70.75)
CIE-LCHlch(34.22, 88.14, 306.62°)
OKLaboklab(45.63% 0.0572 -0.2037)
OKLCHoklch(45.63% 0.212 285.7)
XYZxyz(14.8054, 8.1126, 52.9996)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5531C4 #A0C431
analogous
#3156C4 #5531C4 #9E31C4
triadic
#5531C4 #C45531 #31C455
tetradic
#5531C4 #C43156 #A0C431 #31C49E
square
#5531C4 #C43156 #A0C431 #31C49E
split-complementary
#5531C4 #C49E31 #56C431
monochromatic
#2B1962 #402593 #5531C4 #7A5CD6 #A28DE2

Accessibility & contrast

On white

8.01
#5531C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#5531C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5531C4
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5531C4#FFFFFF#000000##FFFFFF
##5531C41.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C8
Deuteranopia (green-blind)
#004CC1
Tritanopia (blue-blind)
#1E5A78
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5531c4;
/* rgb */ color: rgb(85, 49, 196);
/* oklch */ color: oklch(45.6% 0.212 285.7);
Tailwind
colors: {
  custom: {
    50: '#916dd7',
    500: '#5531c4',
    950: '#000000',
  },
}
SCSS
$custom: #5531c4;
$custom-light: #916dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#5531c4",
  "rgb": {
    "r": 85,
    "g": 49,
    "b": 196
  },
  "hsl": {
    "h": 254.694,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45632,
    "c": 0.21157,
    "h": 285.7
  },
  "luminance": 0.08113
}

Semantic roles & 50–950 ramp

primary
#5531C4
secondary
#BBCD84
accent
#E345BC
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5531C4

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

Preview Lab → · Contrast checker → · Palette generator →

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