#5539B7#5539B7

#5539B7 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.5% C 0.187 H 286.6°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#5539B7
RGBrgb(85, 57, 183)
HSLhsl(253, 53%, 47%)
HSVhsv(253, 69%, 72%)
CMYKcmyk(53.6%, 68.9%, 0%, 28.2%)
CIE-LABlab(34.55, 44.61, -62.55)
CIE-LCHlch(34.55, 76.83, 305.50°)
OKLaboklab(45.51% 0.0534 -0.1797)
OKLCHoklch(45.51% 0.187 286.6)
XYZxyz(13.7541, 8.2757, 45.6632)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5539B7 #9BB739
analogous
#395CB7 #5539B7 #9439B7
triadic
#5539B7 #B75539 #39B755
tetradic
#5539B7 #B7395C #9BB739 #39B794
square
#5539B7 #B7395C #9BB739 #39B794
split-complementary
#5539B7 #B79439 #5CB739
monochromatic
#2A1C5A #3F2A88 #5539B7 #7860CD #A08EDC

Accessibility & contrast

On white

7.91
#5539B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5539B7
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5539B7#FFFFFF#000000##FFFFFF
##5539B71.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BB
Deuteranopia (green-blind)
#004EB5
Tritanopia (blue-blind)
#2D5973
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5539b7;
/* rgb */ color: rgb(85, 57, 183);
/* oklch */ color: oklch(45.5% 0.187 286.6);
Tailwind
colors: {
  custom: {
    50: '#8e72ce',
    500: '#5539b7',
    950: '#000000',
  },
}
SCSS
$custom: #5539b7;
$custom-light: #8e72ce;
$custom-dark: #000000;
JSON
{
  "hex": "#5539b7",
  "rgb": {
    "r": 85,
    "g": 57,
    "b": 183
  },
  "hsl": {
    "h": 253.333,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45514,
    "c": 0.18749,
    "h": 286.6
  },
  "luminance": 0.08276
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5539B7

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

Preview Lab → · Contrast checker → · Palette generator →

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