#5537BF#5537BF

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

Color values

HEX#5537BF
RGBrgb(85, 55, 191)
HSLhsl(253, 55%, 48%)
HSVhsv(253, 71%, 75%)
CMYKcmyk(55.5%, 71.2%, 0%, 25.1%)
CIE-LABlab(34.85, 48.06, -66.77)
CIE-LCHlch(34.85, 82.27, 305.75°)
OKLaboklab(45.94% 0.0537 -0.1921)
OKLCHoklch(45.94% 0.199 285.6)
XYZxyz(14.5136, 8.4244, 50.1414)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5537BF #A1BF37
analogous
#375DBF #5537BF #9937BF
triadic
#5537BF #BF5537 #37BF55
tetradic
#5537BF #BF375D #A1BF37 #37BF99
square
#5537BF #BF375D #A1BF37 #37BF99
split-complementary
#5537BF #BF9937 #5DBF37
monochromatic
#2B1C60 #40298F #5537BF #7A62D2 #A291DF

Accessibility & contrast

On white

7.82
#5537BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#5537BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5537BF
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5537BF#FFFFFF#000000##FFFFFF
##5537BF1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C3
Deuteranopia (green-blind)
#004EBC
Tritanopia (blue-blind)
#245B77
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5537bf;
/* rgb */ color: rgb(85, 55, 191);
/* oklch */ color: oklch(45.9% 0.199 285.6);
Tailwind
colors: {
  custom: {
    50: '#9071d3',
    500: '#5537bf',
    950: '#000000',
  },
}
SCSS
$custom: #5537bf;
$custom-light: #9071d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5537bf",
  "rgb": {
    "r": 85,
    "g": 55,
    "b": 191
  },
  "hsl": {
    "h": 253.235,
    "s": 55.285,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45942,
    "c": 0.19946,
    "h": 285.6
  },
  "luminance": 0.08425
}

Semantic roles & 50–950 ramp

primary
#5537BF
secondary
#BCCA88
accent
#DF49BE
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5537BF

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

Preview Lab → · Contrast checker → · Palette generator →

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