#5537AB#5537AB

#5537AB is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.2% C 0.175 H 289.1°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#5537AB
RGBrgb(85, 55, 171)
HSLhsl(256, 51%, 44%)
HSVhsv(256, 68%, 67%)
CMYKcmyk(50.3%, 67.8%, 0%, 32.9%)
CIE-LABlab(33.14, 42.18, -57.71)
CIE-LCHlch(33.14, 71.48, 306.17°)
OKLaboklab(44.19% 0.0572 -0.1655)
OKLCHoklch(44.19% 0.175 289.1)
XYZxyz(12.4611, 7.6034, 39.3312)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5537AB #8DAB37
analogous
#3753AB #5537AB #8F37AB
triadic
#5537AB #AB5537 #37AB55
tetradic
#5537AB #AB3753 #8DAB37 #37AB8F
square
#5537AB #AB3753 #8DAB37 #37AB8F
split-complementary
#5537AB #AB8F37 #53AB37
monochromatic
#27194E #3E287D #5537AB #7456C9 #9A85D8

Accessibility & contrast

On white

8.33
#5537AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#5537AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5537AB
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5537AB#FFFFFF#000000##FFFFFF
##5537AB1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AF
Deuteranopia (green-blind)
#004BA9
Tritanopia (blue-blind)
#37546C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5537ab;
/* rgb */ color: rgb(85, 55, 171);
/* oklch */ color: oklch(44.2% 0.175 289.1);
Tailwind
colors: {
  custom: {
    50: '#8d70c5',
    500: '#5537ab',
    950: '#000000',
  },
}
SCSS
$custom: #5537ab;
$custom-light: #8d70c5;
$custom-dark: #000000;
JSON
{
  "hex": "#5537ab",
  "rgb": {
    "r": 85,
    "g": 55,
    "b": 171
  },
  "hsl": {
    "h": 255.517,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44193,
    "c": 0.17511,
    "h": 289.1
  },
  "luminance": 0.07604
}

Semantic roles & 50–950 ramp

primary
#5537AB
secondary
#B0C17C
accent
#DB4DB6
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5537AB

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

Preview Lab → · Contrast checker → · Palette generator →

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