#5539B5#5539B5

#5539B5 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.3% C 0.185 H 286.9°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#5539B5
RGBrgb(85, 57, 181)
HSLhsl(254, 52%, 47%)
HSVhsv(254, 69%, 71%)
CMYKcmyk(53%, 68.5%, 0%, 29%)
CIE-LABlab(34.38, 44.02, -61.64)
CIE-LCHlch(34.38, 75.74, 305.53°)
OKLaboklab(45.34% 0.0537 -0.1771)
OKLCHoklch(45.34% 0.185 286.9)
XYZxyz(13.5475, 8.1931, 44.5747)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5539B5 #99B539
analogous
#395BB5 #5539B5 #9339B5
triadic
#5539B5 #B55539 #39B555
tetradic
#5539B5 #B5395B #99B539 #39B593
square
#5539B5 #B5395B #99B539 #39B593
split-complementary
#5539B5 #B59339 #5BB539
monochromatic
#291C58 #3F2A86 #5539B5 #775FCD #9F8DDB

Accessibility & contrast

On white

7.96
#5539B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#5539B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5539B5
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5539B5#FFFFFF#000000##FFFFFF
##5539B51.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B9
Deuteranopia (green-blind)
#004DB3
Tritanopia (blue-blind)
#2F5972
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5539b5;
/* rgb */ color: rgb(85, 57, 181);
/* oklch */ color: oklch(45.3% 0.185 286.9);
Tailwind
colors: {
  custom: {
    50: '#8e71cc',
    500: '#5539b5',
    950: '#000000',
  },
}
SCSS
$custom: #5539b5;
$custom-light: #8e71cc;
$custom-dark: #000000;
JSON
{
  "hex": "#5539b5",
  "rgb": {
    "r": 85,
    "g": 57,
    "b": 181
  },
  "hsl": {
    "h": 253.548,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.4534,
    "c": 0.18504,
    "h": 286.9
  },
  "luminance": 0.08194
}

Semantic roles & 50–950 ramp

primary
#5539B5
secondary
#B7C684
accent
#DC4CBB
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #5539B5

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

Preview Lab → · Contrast checker → · Palette generator →

#5539B5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva