#5537AC#5537AC

#5537AC is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.3% C 0.176 H 288.9°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#5537AC
RGBrgb(85, 55, 172)
HSLhsl(255, 52%, 45%)
HSVhsv(255, 68%, 67%)
CMYKcmyk(50.6%, 68%, 0%, 32.5%)
CIE-LABlab(33.23, 42.48, -58.17)
CIE-LCHlch(33.23, 72.03, 306.14°)
OKLaboklab(44.28% 0.057 -0.1669)
OKLCHoklch(44.28% 0.176 288.9)
XYZxyz(12.5567, 7.6417, 39.8351)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5537AC #8EAC37
analogous
#3753AC #5537AC #9037AC
triadic
#5537AC #AC5537 #37AC55
tetradic
#5537AC #AC3753 #8EAC37 #37AC90
square
#5537AC #AC3753 #8EAC37 #37AC90
split-complementary
#5537AC #AC9037 #53AC37
monochromatic
#27194F #3E287E #5537AC #7457C9 #9B85D8

Accessibility & contrast

On white

8.31
#5537AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#5537AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5537AC
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5537AC#FFFFFF#000000##FFFFFF
##5537AC1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B0
Deuteranopia (green-blind)
#004BAA
Tritanopia (blue-blind)
#36546D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5537ac;
/* rgb */ color: rgb(85, 55, 172);
/* oklch */ color: oklch(44.3% 0.176 288.9);
Tailwind
colors: {
  custom: {
    50: '#8d70c6',
    500: '#5537ac',
    950: '#000000',
  },
}
SCSS
$custom: #5537ac;
$custom-light: #8d70c6;
$custom-dark: #000000;
JSON
{
  "hex": "#5537ac",
  "rgb": {
    "r": 85,
    "g": 55,
    "b": 172
  },
  "hsl": {
    "h": 255.385,
    "s": 51.542,
    "l": 44.51
  },
  "oklch": {
    "l": 0.44278,
    "c": 0.17635,
    "h": 288.9
  },
  "luminance": 0.07642
}

Semantic roles & 50–950 ramp

primary
#5537AC
secondary
#B0C27D
accent
#DB4DB7
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5537AC

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

Preview Lab → · Contrast checker → · Palette generator →

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