#5531CA#5531CA

#5531CA is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.2% C 0.218 H 284.7°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#5531CA
RGBrgb(85, 49, 202)
HSLhsl(254, 61%, 49%)
HSVhsv(254, 76%, 79%)
CMYKcmyk(57.9%, 75.7%, 0%, 20.8%)
CIE-LABlab(34.78, 54.28, -73.32)
CIE-LCHlch(34.78, 91.22, 306.52°)
OKLaboklab(46.2% 0.0556 -0.2112)
OKLCHoklch(46.2% 0.218 284.7)
XYZxyz(15.5020, 8.3912, 56.6685)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5531CA #A6CA31
analogous
#3159CA #5531CA #A231CA
triadic
#5531CA #CA5531 #31CA55
tetradic
#5531CA #CA3159 #A6CA31 #31CAA2
square
#5531CA #CA3159 #A6CA31 #31CAA2
split-complementary
#5531CA #CAA231 #59CA31
monochromatic
#2C1967 #402599 #5531CA #7C60D8 #A591E4

Accessibility & contrast

On white

7.84
#5531CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#5531CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5531CA
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5531CA#FFFFFF#000000##FFFFFF
##5531CA1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CE
Deuteranopia (green-blind)
#004DC7
Tritanopia (blue-blind)
#125D7C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5531ca;
/* rgb */ color: rgb(85, 49, 202);
/* oklch */ color: oklch(46.2% 0.218 284.7);
Tailwind
colors: {
  custom: {
    50: '#926edb',
    500: '#5531ca',
    950: '#000000',
  },
}
SCSS
$custom: #5531ca;
$custom-light: #926edb;
$custom-dark: #000000;
JSON
{
  "hex": "#5531ca",
  "rgb": {
    "r": 85,
    "g": 49,
    "b": 202
  },
  "hsl": {
    "h": 254.118,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.46203,
    "c": 0.21842,
    "h": 284.7
  },
  "luminance": 0.08392
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5531CA

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

Preview Lab → · Contrast checker → · Palette generator →

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