#5737CC#5737CC

#5737CC is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.3% C 0.215 H 284.5°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#5737CC
RGBrgb(87, 55, 204)
HSLhsl(253, 59%, 51%)
HSVhsv(253, 73%, 80%)
CMYKcmyk(57.4%, 73%, 0%, 20%)
CIE-LABlab(36.21, 52.14, -72.13)
CIE-LCHlch(36.21, 89.00, 305.86°)
OKLaboklab(47.31% 0.0537 -0.2077)
OKLCHoklch(47.31% 0.215 284.5)
XYZxyz(16.1924, 9.1172, 58.0216)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5737CC #ACCC37
analogous
#3761CC #5737CC #A137CC
triadic
#5737CC #CC5737 #37CC57
tetradic
#5737CC #CC3761 #ACCC37 #37CCA1
square
#5737CC #CC3761 #ACCC37 #37CCA1
split-complementary
#5737CC #CCA137 #61CC37
monochromatic
#2D1C6D #41289E #5737CC #8068D8 #A999E5

Accessibility & contrast

On white

7.44
#5737CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#5737CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5737CC
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5737CC#FFFFFF#000000##FFFFFF
##5737CC1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D0
Deuteranopia (green-blind)
#0050C9
Tritanopia (blue-blind)
#17607E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5737cc;
/* rgb */ color: rgb(87, 55, 204);
/* oklch */ color: oklch(47.3% 0.215 284.5);
Tailwind
colors: {
  custom: {
    50: '#9371dd',
    500: '#5737cc',
    950: '#000000',
  },
}
SCSS
$custom: #5737cc;
$custom-light: #9371dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5737cc",
  "rgb": {
    "r": 87,
    "g": 55,
    "b": 204
  },
  "hsl": {
    "h": 252.886,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.47307,
    "c": 0.21457,
    "h": 284.5
  },
  "luminance": 0.09118
}

Semantic roles & 50–950 ramp

primary
#5737CC
secondary
#C2D08E
accent
#E345C1
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5737CC

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

Preview Lab → · Contrast checker → · Palette generator →

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