#5539AF#5539AF

#5539AF is a dark, vivid violet. Relative luminance 0.080; OKLCH L 44.8% C 0.178 H 287.9°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#5539AF
RGBrgb(85, 57, 175)
HSLhsl(254, 51%, 45%)
HSVhsv(254, 67%, 69%)
CMYKcmyk(51.4%, 67.4%, 0%, 31.4%)
CIE-LABlab(33.88, 42.24, -58.89)
CIE-LCHlch(33.88, 72.47, 305.65°)
OKLaboklab(44.83% 0.0547 -0.169)
OKLCHoklch(44.83% 0.178 287.9)
XYZxyz(12.9450, 7.9521, 41.4019)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5539AF #93AF39
analogous
#3958AF #5539AF #9039AF
triadic
#5539AF #AF5539 #39AF55
tetradic
#5539AF #AF3958 #93AF39 #39AF90
square
#5539AF #AF3958 #93AF39 #39AF90
split-complementary
#5539AF #AF9039 #58AF39
monochromatic
#281B53 #3F2A81 #5539AF #765BCA #9C8AD9

Accessibility & contrast

On white

8.11
#5539AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#5539AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5539AF#FFFFFF#000000##FFFFFF
##5539AF1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B3
Deuteranopia (green-blind)
#004DAD
Tritanopia (blue-blind)
#34576F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5539af;
/* rgb */ color: rgb(85, 57, 175);
/* oklch */ color: oklch(44.8% 0.178 287.9);
Tailwind
colors: {
  custom: {
    50: '#8d71c8',
    500: '#5539af',
    950: '#000000',
  },
}
SCSS
$custom: #5539af;
$custom-light: #8d71c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5539af",
  "rgb": {
    "r": 85,
    "g": 57,
    "b": 175
  },
  "hsl": {
    "h": 254.237,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.44827,
    "c": 0.1776,
    "h": 287.9
  },
  "luminance": 0.07953
}

Semantic roles & 50–950 ramp

primary
#5539AF
secondary
#B3C381
accent
#DA4DB9
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #5539AF

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

Preview Lab → · Contrast checker → · Palette generator →

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