#5537D7#5537D7

#5537D7 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.2% C 0.228 H 282.3°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#5537D7
RGBrgb(85, 55, 215)
HSLhsl(251, 67%, 53%)
HSVhsv(251, 74%, 84%)
CMYKcmyk(60.5%, 74.4%, 0%, 15.7%)
CIE-LABlab(37.06, 55.07, -77.10)
CIE-LCHlch(37.06, 94.75, 305.54°)
OKLaboklab(48.17% 0.0483 -0.2223)
OKLCHoklch(48.17% 0.228 282.3)
XYZxyz(17.3744, 9.5687, 65.2082)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5537D7 #B9D737
analogous
#3769D7 #5537D7 #A537D7
triadic
#5537D7 #D75537 #37D755
tetradic
#5537D7 #D73769 #B9D737 #37D7A5
square
#5537D7 #D73769 #B9D737 #37D7A5
split-complementary
#5537D7 #D7A537 #69D737
monochromatic
#2B197B #3D23AE #5537D7 #806AE1 #AC9DEB

Accessibility & contrast

On white

7.21
#5537D7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#5537D7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5537D7
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5537D7#FFFFFF#000000##FFFFFF
##5537D71.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CDC
Deuteranopia (green-blind)
#0052D4
Tritanopia (blue-blind)
#006485
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5537d7;
/* rgb */ color: rgb(85, 55, 215);
/* oklch */ color: oklch(48.2% 0.228 282.3);
Tailwind
colors: {
  custom: {
    50: '#9472e5',
    500: '#5537d7',
    950: '#000000',
  },
}
SCSS
$custom: #5537d7;
$custom-light: #9472e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5537d7",
  "rgb": {
    "r": 85,
    "g": 55,
    "b": 215
  },
  "hsl": {
    "h": 251.25,
    "s": 66.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.48172,
    "c": 0.22752,
    "h": 282.3
  },
  "luminance": 0.0957
}

Semantic roles & 50–950 ramp

primary
#5537D7
secondary
#CBD792
accent
#EA3EC9
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0F0816
muted
#7E7B84

Preview Lab

Preview with #5537D7

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

Preview Lab → · Contrast checker → · Palette generator →

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