#5537BB#5537BB

#5537BB is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.6% C 0.195 H 286.2°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#5537BB
RGBrgb(85, 55, 187)
HSLhsl(254, 55%, 47%)
HSVhsv(254, 71%, 73%)
CMYKcmyk(54.5%, 70.6%, 0%, 26.7%)
CIE-LABlab(34.50, 46.89, -64.99)
CIE-LCHlch(34.50, 80.14, 305.81°)
OKLaboklab(45.58% 0.0545 -0.1869)
OKLCHoklch(45.58% 0.195 286.2)
XYZxyz(14.0795, 8.2508, 47.8547)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5537BB #9DBB37
analogous
#375BBB #5537BB #9737BB
triadic
#5537BB #BB5537 #37BB55
tetradic
#5537BB #BB375B #9DBB37 #37BB97
square
#5537BB #BB375B #9DBB37 #37BB97
split-complementary
#5537BB #BB9737 #5BBB37
monochromatic
#2A1B5C #40298C #5537BB #795FD0 #A18EDE

Accessibility & contrast

On white

7.92
#5537BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#5537BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5537BB
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5537BB#FFFFFF#000000##FFFFFF
##5537BB1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BF
Deuteranopia (green-blind)
#004DB8
Tritanopia (blue-blind)
#295A75
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5537bb;
/* rgb */ color: rgb(85, 55, 187);
/* oklch */ color: oklch(45.6% 0.195 286.2);
Tailwind
colors: {
  custom: {
    50: '#8f70d1',
    500: '#5537bb',
    950: '#000000',
  },
}
SCSS
$custom: #5537bb;
$custom-light: #8f70d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5537bb",
  "rgb": {
    "r": 85,
    "g": 55,
    "b": 187
  },
  "hsl": {
    "h": 253.636,
    "s": 54.545,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45584,
    "c": 0.19466,
    "h": 286.2
  },
  "luminance": 0.08252
}

Semantic roles & 50–950 ramp

primary
#5537BB
secondary
#B9C985
accent
#DE4ABC
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #5537BB

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

Preview Lab → · Contrast checker → · Palette generator →

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