#5537AD#5537AD

#5537AD is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.4% C 0.178 H 288.7°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#5537AD
RGBrgb(85, 55, 173)
HSLhsl(255, 52%, 45%)
HSVhsv(255, 68%, 68%)
CMYKcmyk(50.9%, 68.2%, 0%, 32.2%)
CIE-LABlab(33.31, 42.77, -58.63)
CIE-LCHlch(33.31, 72.58, 306.11°)
OKLaboklab(44.36% 0.0569 -0.1682)
OKLCHoklch(44.36% 0.178 288.7)
XYZxyz(12.6531, 7.6802, 40.3428)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5537AD #8FAD37
analogous
#3754AD #5537AD #9037AD
triadic
#5537AD #AD5537 #37AD55
tetradic
#5537AD #AD3754 #8FAD37 #37AD90
square
#5537AD #AD3754 #8FAD37 #37AD90
split-complementary
#5537AD #AD9037 #54AD37
monochromatic
#271950 #3E287F #5537AD #7557CA #9B86D8

Accessibility & contrast

On white

8.28
#5537AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#5537AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5537AD
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5537AD#FFFFFF#000000##FFFFFF
##5537AD1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B1
Deuteranopia (green-blind)
#004BAB
Tritanopia (blue-blind)
#36556D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5537ad;
/* rgb */ color: rgb(85, 55, 173);
/* oklch */ color: oklch(44.4% 0.178 288.7);
Tailwind
colors: {
  custom: {
    50: '#8d70c6',
    500: '#5537ad',
    950: '#000000',
  },
}
SCSS
$custom: #5537ad;
$custom-light: #8d70c6;
$custom-dark: #000000;
JSON
{
  "hex": "#5537ad",
  "rgb": {
    "r": 85,
    "g": 55,
    "b": 173
  },
  "hsl": {
    "h": 255.254,
    "s": 51.754,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44363,
    "c": 0.17759,
    "h": 288.7
  },
  "luminance": 0.07681
}

Semantic roles & 50–950 ramp

primary
#5537AD
secondary
#B1C27D
accent
#DB4DB7
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #5537AD

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

Preview Lab → · Contrast checker → · Palette generator →

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