#5539AA#5539AA

#5539AA is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.4% C 0.171 H 288.8°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#5539AA
RGBrgb(85, 57, 170)
HSLhsl(255, 50%, 45%)
HSVhsv(255, 66%, 67%)
CMYKcmyk(50%, 66.5%, 0%, 33.3%)
CIE-LABlab(33.48, 40.76, -56.57)
CIE-LCHlch(33.48, 69.72, 305.77°)
OKLaboklab(44.41% 0.0553 -0.1621)
OKLCHoklch(44.41% 0.171 288.8)
XYZxyz(12.4630, 7.7593, 38.8634)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5539AA #8EAA39
analogous
#3956AA #5539AA #8E39AA
triadic
#5539AA #AA5539 #39AA55
tetradic
#5539AA #AA3956 #8EAA39 #39AA8E
square
#5539AA #AA3956 #8EAA39 #39AA8E
split-complementary
#5539AA #AA8E39 #56AA39
monochromatic
#271A4E #3E2A7C #5539AA #7459C7 #9B87D7

Accessibility & contrast

On white

8.23
#5539AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#5539AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5539AA#FFFFFF#000000##FFFFFF
##5539AA1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AD
Deuteranopia (green-blind)
#004CA8
Tritanopia (blue-blind)
#38556C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5539aa;
/* rgb */ color: rgb(85, 57, 170);
/* oklch */ color: oklch(44.4% 0.171 288.8);
Tailwind
colors: {
  custom: {
    50: '#8c71c4',
    500: '#5539aa',
    950: '#000000',
  },
}
SCSS
$custom: #5539aa;
$custom-light: #8c71c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5539aa",
  "rgb": {
    "r": 85,
    "g": 57,
    "b": 170
  },
  "hsl": {
    "h": 254.867,
    "s": 49.78,
    "l": 44.51
  },
  "oklch": {
    "l": 0.44408,
    "c": 0.17133,
    "h": 288.8
  },
  "luminance": 0.0776
}

Semantic roles & 50–950 ramp

primary
#5539AA
secondary
#B0C17E
accent
#D94EB7
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #5539AA

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

Preview Lab → · Contrast checker → · Palette generator →

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