#5537CA#5537CA

#5537CA is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 46.9% C 0.212 H 284.0°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#5537CA
RGBrgb(85, 55, 202)
HSLhsl(252, 58%, 50%)
HSVhsv(252, 73%, 79%)
CMYKcmyk(57.9%, 72.8%, 0%, 20.8%)
CIE-LABlab(35.84, 51.29, -71.58)
CIE-LCHlch(35.84, 88.05, 305.62°)
OKLaboklab(46.95% 0.0513 -0.2062)
OKLCHoklch(46.95% 0.212 284)
XYZxyz(15.7699, 8.9269, 56.7577)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5537CA #ACCA37
analogous
#3762CA #5537CA #9F37CA
triadic
#5537CA #CA5537 #37CA55
tetradic
#5537CA #CA3762 #ACCA37 #37CA9F
square
#5537CA #CA3762 #ACCA37 #37CA9F
split-complementary
#5537CA #CA9F37 #62CA37
monochromatic
#2C1C6A #40299B #5537CA #7E67D7 #A798E4

Accessibility & contrast

On white

7.54
#5537CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#5537CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5537CA
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5537CA#FFFFFF#000000##FFFFFF
##5537CA1.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CE
Deuteranopia (green-blind)
#004FC7
Tritanopia (blue-blind)
#115F7D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5537ca;
/* rgb */ color: rgb(85, 55, 202);
/* oklch */ color: oklch(46.9% 0.212 284.0);
Tailwind
colors: {
  custom: {
    50: '#9171db',
    500: '#5537ca',
    950: '#000000',
  },
}
SCSS
$custom: #5537ca;
$custom-light: #9171db;
$custom-dark: #000000;
JSON
{
  "hex": "#5537ca",
  "rgb": {
    "r": 85,
    "g": 55,
    "b": 202
  },
  "hsl": {
    "h": 252.245,
    "s": 58.103,
    "l": 50.392
  },
  "oklch": {
    "l": 0.46948,
    "c": 0.21247,
    "h": 284
  },
  "luminance": 0.08928
}

Semantic roles & 50–950 ramp

primary
#5537CA
secondary
#C2CF8E
accent
#E146C2
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5537CA

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

Preview Lab → · Contrast checker → · Palette generator →

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