#5539C5#5539C5

#5539C5 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 46.8% C 0.204 H 284.4°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#5539C5
RGBrgb(85, 57, 197)
HSLhsl(252, 55%, 50%)
HSVhsv(252, 71%, 77%)
CMYKcmyk(56.9%, 71.1%, 0%, 22.7%)
CIE-LABlab(35.77, 48.76, -68.78)
CIE-LCHlch(35.77, 84.32, 305.33°)
OKLaboklab(46.76% 0.0509 -0.198)
OKLCHoklch(46.76% 0.204 284.4)
XYZxyz(15.2844, 8.8878, 53.7226)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5539C5 #A9C539
analogous
#3963C5 #5539C5 #9B39C5
triadic
#5539C5 #C55539 #39C555
tetradic
#5539C5 #C53963 #A9C539 #39C59B
square
#5539C5 #C53963 #A9C539 #39C59B
split-complementary
#5539C5 #C59B39 #63C539
monochromatic
#2C1E66 #412B96 #5539C5 #7D68D3 #A697E1

Accessibility & contrast

On white

7.56
#5539C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#5539C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5539C5
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5539C5#FFFFFF#000000##FFFFFF
##5539C51.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C9
Deuteranopia (green-blind)
#0050C2
Tritanopia (blue-blind)
#1B5F7B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5539c5;
/* rgb */ color: rgb(85, 57, 197);
/* oklch */ color: oklch(46.8% 0.204 284.4);
Tailwind
colors: {
  custom: {
    50: '#9172d8',
    500: '#5539c5',
    950: '#000000',
  },
}
SCSS
$custom: #5539c5;
$custom-light: #9172d8;
$custom-dark: #000000;
JSON
{
  "hex": "#5539c5",
  "rgb": {
    "r": 85,
    "g": 57,
    "b": 197
  },
  "hsl": {
    "h": 252,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.46757,
    "c": 0.20444,
    "h": 284.4
  },
  "luminance": 0.08889
}

Semantic roles & 50–950 ramp

primary
#5539C5
secondary
#C0CD8D
accent
#DE49C1
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5539C5

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

Preview Lab → · Contrast checker → · Palette generator →

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