#5537BA#5537BA

#5537BA is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.5% C 0.193 H 286.4°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#5537BA
RGBrgb(85, 55, 186)
HSLhsl(254, 54%, 47%)
HSVhsv(254, 70%, 73%)
CMYKcmyk(54.3%, 70.4%, 0%, 27.1%)
CIE-LABlab(34.41, 46.59, -64.55)
CIE-LCHlch(34.41, 79.60, 305.82°)
OKLaboklab(45.5% 0.0546 -0.1856)
OKLCHoklch(45.5% 0.193 286.4)
XYZxyz(13.9728, 8.2081, 47.2929)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5537BA #9CBA37
analogous
#375BBA #5537BA #9637BA
triadic
#5537BA #BA5537 #37BA55
tetradic
#5537BA #BA375B #9CBA37 #37BA96
square
#5537BA #BA375B #9CBA37 #37BA96
split-complementary
#5537BA #BA9637 #5BBA37
monochromatic
#2A1B5C #3F298B #5537BA #785FD0 #A08EDE

Accessibility & contrast

On white

7.95
#5537BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#5537BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5537BA
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5537BA#FFFFFF#000000##FFFFFF
##5537BA1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BE
Deuteranopia (green-blind)
#004DB7
Tritanopia (blue-blind)
#2A5974
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5537ba;
/* rgb */ color: rgb(85, 55, 186);
/* oklch */ color: oklch(45.5% 0.193 286.4);
Tailwind
colors: {
  custom: {
    50: '#8f70d0',
    500: '#5537ba',
    950: '#000000',
  },
}
SCSS
$custom: #5537ba;
$custom-light: #8f70d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5537ba",
  "rgb": {
    "r": 85,
    "g": 55,
    "b": 186
  },
  "hsl": {
    "h": 253.74,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45495,
    "c": 0.19346,
    "h": 286.4
  },
  "luminance": 0.08209
}

Semantic roles & 50–950 ramp

primary
#5537BA
secondary
#B9C885
accent
#DE4ABC
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #5537BA

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

Preview Lab → · Contrast checker → · Palette generator →

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