#5537DA#5537DA

#5537DA is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.5% C 0.231 H 281.9°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#5537DA
RGBrgb(85, 55, 218)
HSLhsl(251, 69%, 54%)
HSVhsv(251, 75%, 85%)
CMYKcmyk(61%, 74.8%, 0%, 14.5%)
CIE-LABlab(37.34, 55.94, -78.36)
CIE-LCHlch(37.34, 96.28, 305.52°)
OKLaboklab(48.46% 0.0476 -0.226)
OKLCHoklch(48.46% 0.231 281.9)
XYZxyz(17.7634, 9.7244, 67.2570)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5537DA #BCDA37
analogous
#376ADA #5537DA #A637DA
triadic
#5537DA #DA5537 #37DA55
tetradic
#5537DA #DA376A #BCDA37 #37DAA6
square
#5537DA #DA376A #BCDA37 #37DAA6
split-complementary
#5537DA #DAA637 #6ADA37
monochromatic
#2B187F #3C21B3 #5537DA #816BE4 #AD9EED

Accessibility & contrast

On white

7.13
#5537DA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#5537DA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5537DA
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5537DA#FFFFFF#000000##FFFFFF
##5537DA1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DDF
Deuteranopia (green-blind)
#0052D7
Tritanopia (blue-blind)
#006686
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5537da;
/* rgb */ color: rgb(85, 55, 218);
/* oklch */ color: oklch(48.5% 0.231 281.9);
Tailwind
colors: {
  custom: {
    50: '#9472e7',
    500: '#5537da',
    950: '#000000',
  },
}
SCSS
$custom: #5537da;
$custom-light: #9472e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5537da",
  "rgb": {
    "r": 85,
    "g": 55,
    "b": 218
  },
  "hsl": {
    "h": 251.043,
    "s": 68.776,
    "l": 53.529
  },
  "oklch": {
    "l": 0.48459,
    "c": 0.23096,
    "h": 281.9
  },
  "luminance": 0.09726
}

Semantic roles & 50–950 ramp

primary
#5537DA
secondary
#CCD993
accent
#EC3CCB
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0F0816
muted
#7E7B84

Preview Lab

Preview with #5537DA

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

Preview Lab → · Contrast checker → · Palette generator →

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