#5539B3#5539B3

#5539B3 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.2% C 0.183 H 287.2°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#5539B3
RGBrgb(85, 57, 179)
HSLhsl(254, 52%, 46%)
HSVhsv(254, 68%, 70%)
CMYKcmyk(52.5%, 68.2%, 0%, 29.8%)
CIE-LABlab(34.21, 43.43, -60.73)
CIE-LCHlch(34.21, 74.66, 305.57°)
OKLaboklab(45.17% 0.0541 -0.1744)
OKLCHoklch(45.17% 0.183 287.2)
XYZxyz(13.3437, 8.1116, 43.5017)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5539B3 #97B339
analogous
#395AB3 #5539B3 #9239B3
triadic
#5539B3 #B35539 #39B355
tetradic
#5539B3 #B3395A #97B339 #39B392
square
#5539B3 #B3395A #97B339 #39B392
split-complementary
#5539B3 #B39239 #5AB339
monochromatic
#291B56 #3F2A85 #5539B3 #775ECC #9E8CDA

Accessibility & contrast

On white

8.01
#5539B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#5539B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5539B3
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5539B3#FFFFFF#000000##FFFFFF
##5539B31.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B7
Deuteranopia (green-blind)
#004DB1
Tritanopia (blue-blind)
#315871
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5539b3;
/* rgb */ color: rgb(85, 57, 179);
/* oklch */ color: oklch(45.2% 0.183 287.2);
Tailwind
colors: {
  custom: {
    50: '#8e71cb',
    500: '#5539b3',
    950: '#000000',
  },
}
SCSS
$custom: #5539b3;
$custom-light: #8e71cb;
$custom-dark: #000000;
JSON
{
  "hex": "#5539b3",
  "rgb": {
    "r": 85,
    "g": 57,
    "b": 179
  },
  "hsl": {
    "h": 253.77,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.45168,
    "c": 0.18256,
    "h": 287.2
  },
  "luminance": 0.08112
}

Semantic roles & 50–950 ramp

primary
#5539B3
secondary
#B6C583
accent
#DB4DBA
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #5539B3

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

Preview Lab → · Contrast checker → · Palette generator →

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