#5537BC#5537BC

#5537BC is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.7% C 0.196 H 286.1°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#5537BC
RGBrgb(85, 55, 188)
HSLhsl(254, 55%, 48%)
HSVhsv(254, 71%, 74%)
CMYKcmyk(54.8%, 70.7%, 0%, 26.3%)
CIE-LABlab(34.59, 47.18, -65.44)
CIE-LCHlch(34.59, 80.67, 305.79°)
OKLaboklab(45.67% 0.0543 -0.1882)
OKLCHoklch(45.67% 0.196 286.1)
XYZxyz(14.1869, 8.2937, 48.4205)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5537BC #9EBC37
analogous
#375BBC #5537BC #9837BC
triadic
#5537BC #BC5537 #37BC55
tetradic
#5537BC #BC375B #9EBC37 #37BC98
square
#5537BC #BC375B #9EBC37 #37BC98
split-complementary
#5537BC #BC9837 #5BBC37
monochromatic
#2A1B5D #40298D #5537BC #7960D0 #A18FDE

Accessibility & contrast

On white

7.90
#5537BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#5537BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5537BC
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5537BC#FFFFFF#000000##FFFFFF
##5537BC1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C0
Deuteranopia (green-blind)
#004DB9
Tritanopia (blue-blind)
#285A76
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5537bc;
/* rgb */ color: rgb(85, 55, 188);
/* oklch */ color: oklch(45.7% 0.196 286.1);
Tailwind
colors: {
  custom: {
    50: '#8f70d1',
    500: '#5537bc',
    950: '#000000',
  },
}
SCSS
$custom: #5537bc;
$custom-light: #8f70d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5537bc",
  "rgb": {
    "r": 85,
    "g": 55,
    "b": 188
  },
  "hsl": {
    "h": 253.534,
    "s": 54.733,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45673,
    "c": 0.19587,
    "h": 286.1
  },
  "luminance": 0.08295
}

Semantic roles & 50–950 ramp

primary
#5537BC
secondary
#BAC986
accent
#DE4ABD
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5537BC

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

Preview Lab → · Contrast checker → · Palette generator →

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