#5537CC#5537CC

#5537CC is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.1% C 0.215 H 283.7°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#5537CC
RGBrgb(85, 55, 204)
HSLhsl(252, 59%, 51%)
HSVhsv(252, 73%, 80%)
CMYKcmyk(58.3%, 73%, 0%, 20%)
CIE-LABlab(36.03, 51.87, -72.44)
CIE-LCHlch(36.03, 89.09, 305.61°)
OKLaboklab(47.13% 0.0509 -0.2087)
OKLCHoklch(47.13% 0.215 283.7)
XYZxyz(16.0082, 9.0223, 58.0130)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5537CC #AECC37
analogous
#3763CC #5537CC #A037CC
triadic
#5537CC #CC5537 #37CC55
tetradic
#5537CC #CC3763 #AECC37 #37CCA0
square
#5537CC #CC3763 #AECC37 #37CCA0
split-complementary
#5537CC #CCA037 #63CC37
monochromatic
#2C1C6D #40289E #5537CC #7E68D8 #A899E5

Accessibility & contrast

On white

7.49
#5537CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#5537CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5537CC
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5537CC#FFFFFF#000000##FFFFFF
##5537CC1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5537cc;
/* rgb */ color: rgb(85, 55, 204);
/* oklch */ color: oklch(47.1% 0.215 283.7);
Tailwind
colors: {
  custom: {
    50: '#9271dd',
    500: '#5537cc',
    950: '#000000',
  },
}
SCSS
$custom: #5537cc;
$custom-light: #9271dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5537cc",
  "rgb": {
    "r": 85,
    "g": 55,
    "b": 204
  },
  "hsl": {
    "h": 252.081,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.47134,
    "c": 0.21481,
    "h": 283.7
  },
  "luminance": 0.09023
}

Semantic roles & 50–950 ramp

primary
#5537CC
secondary
#C3D08E
accent
#E345C3
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5537CC

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

Preview Lab → · Contrast checker → · Palette generator →

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