#5537BE#5537BE

#5537BE is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.9% C 0.198 H 285.8°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#5537BE
RGBrgb(85, 55, 190)
HSLhsl(253, 55%, 48%)
HSVhsv(253, 71%, 75%)
CMYKcmyk(55.3%, 71.1%, 0%, 25.5%)
CIE-LABlab(34.76, 47.77, -66.33)
CIE-LCHlch(34.76, 81.74, 305.76°)
OKLaboklab(45.85% 0.0539 -0.1908)
OKLCHoklch(45.85% 0.198 285.8)
XYZxyz(14.4040, 8.3806, 49.5638)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5537BE #A0BE37
analogous
#375DBE #5537BE #9837BE
triadic
#5537BE #BE5537 #37BE55
tetradic
#5537BE #BE375D #A0BE37 #37BE98
square
#5537BE #BE375D #A0BE37 #37BE98
split-complementary
#5537BE #BE9837 #5DBE37
monochromatic
#2B1C5F #40298F #5537BE #7A61D1 #A290DF

Accessibility & contrast

On white

7.85
#5537BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#5537BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5537BE
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5537BE#FFFFFF#000000##FFFFFF
##5537BE1.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C2
Deuteranopia (green-blind)
#004EBB
Tritanopia (blue-blind)
#265B77
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5537be;
/* rgb */ color: rgb(85, 55, 190);
/* oklch */ color: oklch(45.9% 0.198 285.8);
Tailwind
colors: {
  custom: {
    50: '#9071d3',
    500: '#5537be',
    950: '#000000',
  },
}
SCSS
$custom: #5537be;
$custom-light: #9071d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5537be",
  "rgb": {
    "r": 85,
    "g": 55,
    "b": 190
  },
  "hsl": {
    "h": 253.333,
    "s": 55.102,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45852,
    "c": 0.19826,
    "h": 285.8
  },
  "luminance": 0.08381
}

Semantic roles & 50–950 ramp

primary
#5537BE
secondary
#BBCA87
accent
#DE49BD
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5537BE

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

Preview Lab → · Contrast checker → · Palette generator →

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