#5537A2#5537A2

#5537A2 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.4% C 0.164 H 290.9°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#5537A2
RGBrgb(85, 55, 162)
HSLhsl(257, 49%, 43%)
HSVhsv(257, 66%, 64%)
CMYKcmyk(47.5%, 66%, 0%, 36.5%)
CIE-LABlab(32.42, 39.55, -53.48)
CIE-LCHlch(32.42, 66.51, 306.48°)
OKLaboklab(43.44% 0.0584 -0.1531)
OKLCHoklch(43.44% 0.164 290.9)
XYZxyz(11.6323, 7.2719, 34.9661)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5537A2 #84A237
analogous
#374FA2 #5537A2 #8A37A2
triadic
#5537A2 #A25537 #37A255
tetradic
#5537A2 #A2374F #84A237 #37A28A
square
#5537A2 #A2374F #84A237 #37A28A
split-complementary
#5537A2 #A28A37 #4FA237
monochromatic
#251847 #3D2774 #5537A2 #7252C4 #9780D4

Accessibility & contrast

On white

8.56
#5537A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#5537A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5537A2
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5537A2#FFFFFF#000000##FFFFFF
##5537A21.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#004AA0
Tritanopia (blue-blind)
#3D5167
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5537a2;
/* rgb */ color: rgb(85, 55, 162);
/* oklch */ color: oklch(43.4% 0.164 290.9);
Tailwind
colors: {
  custom: {
    50: '#8b70be',
    500: '#5537a2',
    950: '#000000',
  },
}
SCSS
$custom: #5537a2;
$custom-light: #8b70be;
$custom-dark: #000000;
JSON
{
  "hex": "#5537a2",
  "rgb": {
    "r": 85,
    "g": 55,
    "b": 162
  },
  "hsl": {
    "h": 256.822,
    "s": 49.309,
    "l": 42.549
  },
  "oklch": {
    "l": 0.43444,
    "c": 0.16384,
    "h": 290.9
  },
  "luminance": 0.07272
}

Semantic roles & 50–950 ramp

primary
#5537A2
secondary
#AABD78
accent
#D94FB2
background
#F8F6FB
surface
#F0ECF7
border
#CBC7D0
text
#0D0712
muted
#7D7A81

Preview Lab

Preview with #5537A2

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

Preview Lab → · Contrast checker → · Palette generator →

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