#5737BF#5737BF

#5737BF is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.1% C 0.199 H 286.5°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#5737BF
RGBrgb(87, 55, 191)
HSLhsl(254, 55%, 48%)
HSVhsv(254, 71%, 75%)
CMYKcmyk(54.5%, 71.2%, 0%, 25.1%)
CIE-LABlab(35.04, 48.37, -66.45)
CIE-LCHlch(35.04, 82.19, 306.05°)
OKLaboklab(46.12% 0.0565 -0.1911)
OKLCHoklch(46.12% 0.199 286.5)
XYZxyz(14.6978, 8.5194, 50.1501)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5737BF #9FBF37
analogous
#375BBF #5737BF #9B37BF
triadic
#5737BF #BF5737 #37BF57
tetradic
#5737BF #BF375B #9FBF37 #37BF9B
square
#5737BF #BF375B #9FBF37 #37BF9B
split-complementary
#5737BF #BF9B37 #5BBF37
monochromatic
#2C1C60 #41298F #5737BF #7C62D2 #A391DF

Accessibility & contrast

On white

7.77
#5737BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#5737BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5737BF
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5737BF#FFFFFF#000000##FFFFFF
##5737BF1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5737bf;
/* rgb */ color: rgb(87, 55, 191);
/* oklch */ color: oklch(46.1% 0.199 286.5);
Tailwind
colors: {
  custom: {
    50: '#9171d3',
    500: '#5737bf',
    950: '#000000',
  },
}
SCSS
$custom: #5737bf;
$custom-light: #9171d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5737bf",
  "rgb": {
    "r": 87,
    "g": 55,
    "b": 191
  },
  "hsl": {
    "h": 254.118,
    "s": 55.285,
    "l": 48.235
  },
  "oklch": {
    "l": 0.46123,
    "c": 0.19928,
    "h": 286.5
  },
  "luminance": 0.0852
}

Semantic roles & 50–950 ramp

primary
#5737BF
secondary
#BBCA88
accent
#DF49BB
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5737BF

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

Preview Lab → · Contrast checker → · Palette generator →

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