#5539B8#5539B8

#5539B8 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.6% C 0.189 H 286.4°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#5539B8
RGBrgb(85, 57, 184)
HSLhsl(253, 53%, 47%)
HSVhsv(253, 69%, 72%)
CMYKcmyk(53.8%, 69%, 0%, 27.8%)
CIE-LABlab(34.64, 44.91, -63.00)
CIE-LCHlch(34.64, 77.37, 305.48°)
OKLaboklab(45.6% 0.0532 -0.181)
OKLCHoklch(45.6% 0.189 286.4)
XYZxyz(13.8586, 8.3175, 46.2133)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5539B8 #9CB839
analogous
#395DB8 #5539B8 #9439B8
triadic
#5539B8 #B85539 #39B855
tetradic
#5539B8 #B8395D #9CB839 #39B894
square
#5539B8 #B8395D #9CB839 #39B894
split-complementary
#5539B8 #B89439 #5DB839
monochromatic
#2A1C5B #3F2B89 #5539B8 #7860CE #A08FDC

Accessibility & contrast

On white

7.88
#5539B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#5539B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5539B8
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5539B8#FFFFFF#000000##FFFFFF
##5539B81.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BC
Deuteranopia (green-blind)
#004EB6
Tritanopia (blue-blind)
#2C5A74
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5539b8;
/* rgb */ color: rgb(85, 57, 184);
/* oklch */ color: oklch(45.6% 0.189 286.4);
Tailwind
colors: {
  custom: {
    50: '#8e72ce',
    500: '#5539b8',
    950: '#000000',
  },
}
SCSS
$custom: #5539b8;
$custom-light: #8e72ce;
$custom-dark: #000000;
JSON
{
  "hex": "#5539b8",
  "rgb": {
    "r": 85,
    "g": 57,
    "b": 184
  },
  "hsl": {
    "h": 253.228,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45601,
    "c": 0.18872,
    "h": 286.4
  },
  "luminance": 0.08318
}

Semantic roles & 50–950 ramp

primary
#5539B8
secondary
#B9C786
accent
#DC4CBC
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #5539B8

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

Preview Lab → · Contrast checker → · Palette generator →

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