#5537C3#5537C3

#5537C3 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.3% C 0.204 H 285.0°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#5537C3
RGBrgb(85, 55, 195)
HSLhsl(253, 56%, 49%)
HSVhsv(253, 72%, 76%)
CMYKcmyk(56.4%, 71.8%, 0%, 23.5%)
CIE-LABlab(35.21, 49.23, -68.53)
CIE-LCHlch(35.21, 84.38, 305.69°)
OKLaboklab(46.31% 0.0529 -0.1973)
OKLCHoklch(46.31% 0.204 285)
XYZxyz(14.9598, 8.6029, 52.4914)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5537C3 #A5C337
analogous
#375FC3 #5537C3 #9B37C3
triadic
#5537C3 #C35537 #37C355
tetradic
#5537C3 #C3375F #A5C337 #37C39B
square
#5537C3 #C3375F #A5C337 #37C39B
split-complementary
#5537C3 #C39B37 #5FC337
monochromatic
#2B1C64 #402A93 #5537C3 #7C64D3 #A494E1

Accessibility & contrast

On white

7.72
#5537C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#5537C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5537C3
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5537C3#FFFFFF#000000##FFFFFF
##5537C31.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C7
Deuteranopia (green-blind)
#004EC0
Tritanopia (blue-blind)
#1F5D79
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5537c3;
/* rgb */ color: rgb(85, 55, 195);
/* oklch */ color: oklch(46.3% 0.204 285.0);
Tailwind
colors: {
  custom: {
    50: '#9071d6',
    500: '#5537c3',
    950: '#000000',
  },
}
SCSS
$custom: #5537c3;
$custom-light: #9071d6;
$custom-dark: #000000;
JSON
{
  "hex": "#5537c3",
  "rgb": {
    "r": 85,
    "g": 55,
    "b": 195
  },
  "hsl": {
    "h": 252.857,
    "s": 56,
    "l": 49.02
  },
  "oklch": {
    "l": 0.46305,
    "c": 0.20422,
    "h": 285
  },
  "luminance": 0.08604
}

Semantic roles & 50–950 ramp

primary
#5537C3
secondary
#BECC8A
accent
#DF49BF
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5537C3

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

Preview Lab → · Contrast checker → · Palette generator →

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