#5537C1#5537C1

#5537C1 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.1% C 0.202 H 285.3°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#5537C1
RGBrgb(85, 55, 193)
HSLhsl(253, 56%, 49%)
HSVhsv(253, 72%, 76%)
CMYKcmyk(56%, 71.5%, 0%, 24.3%)
CIE-LABlab(35.03, 48.65, -67.65)
CIE-LCHlch(35.03, 83.33, 305.72°)
OKLaboklab(46.12% 0.0533 -0.1947)
OKLCHoklch(46.12% 0.202 285.3)
XYZxyz(14.7352, 8.5131, 51.3085)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5537C1 #A3C137
analogous
#375EC1 #5537C1 #9A37C1
triadic
#5537C1 #C15537 #37C155
tetradic
#5537C1 #C1375E #A3C137 #37C19A
square
#5537C1 #C1375E #A3C137 #37C19A
split-complementary
#5537C1 #C19A37 #5EC137
monochromatic
#2B1C62 #402991 #5537C1 #7B63D2 #A392E0

Accessibility & contrast

On white

7.77
#5537C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#5537C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5537C1
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5537C1#FFFFFF#000000##FFFFFF
##5537C11.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)
#0056C5
Deuteranopia (green-blind)
#004EBE
Tritanopia (blue-blind)
#225C78
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5537c1;
/* rgb */ color: rgb(85, 55, 193);
/* oklch */ color: oklch(46.1% 0.202 285.3);
Tailwind
colors: {
  custom: {
    50: '#9071d5',
    500: '#5537c1',
    950: '#000000',
  },
}
SCSS
$custom: #5537c1;
$custom-light: #9071d5;
$custom-dark: #000000;
JSON
{
  "hex": "#5537c1",
  "rgb": {
    "r": 85,
    "g": 55,
    "b": 193
  },
  "hsl": {
    "h": 253.043,
    "s": 55.645,
    "l": 48.627
  },
  "oklch": {
    "l": 0.46123,
    "c": 0.20184,
    "h": 285.3
  },
  "luminance": 0.08514
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5537C1

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

Preview Lab → · Contrast checker → · Palette generator →

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