#5518A1#5518A1

#5518A1 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.7% C 0.196 H 295.8°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#5518A1
RGBrgb(85, 24, 161)
HSLhsl(267, 74%, 36%)
HSVhsv(267, 85%, 63%)
CMYKcmyk(47.2%, 85.1%, 0%, 36.9%)
CIE-LABlab(27.18, 53.83, -61.44)
CIE-LCHlch(27.18, 81.69, 311.22°)
OKLaboklab(39.72% 0.0853 -0.1762)
OKLCHoklch(39.72% 0.196 295.8)
XYZxyz(10.5042, 5.1575, 34.1534)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5518A1 #64A118
analogous
#1820A1 #5518A1 #9A18A1
triadic
#5518A1 #A15518 #18A155
tetradic
#5518A1 #A11820 #64A118 #18A19A
square
#5518A1 #A11820 #64A118 #18A19A
split-complementary
#5518A1 #A19A18 #20A118
monochromatic
#1D0836 #39106C #5518A1 #7120D6 #914FE5

Accessibility & contrast

On white

10.34
#5518A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#5518A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5518A1
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5518A1#FFFFFF#000000##FFFFFF
##5518A11.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A5
Deuteranopia (green-blind)
#003E9F
Tritanopia (blue-blind)
#3F425F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #5518a1;
/* rgb */ color: rgb(85, 24, 161);
/* oklch */ color: oklch(39.7% 0.196 295.8);
Tailwind
colors: {
  custom: {
    50: '#8d5fbe',
    500: '#5518a1',
    950: '#000000',
  },
}
SCSS
$custom: #5518a1;
$custom-light: #8d5fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#5518a1",
  "rgb": {
    "r": 85,
    "g": 24,
    "b": 161
  },
  "hsl": {
    "h": 266.715,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39721,
    "c": 0.19578,
    "h": 295.8
  },
  "luminance": 0.05158
}

Semantic roles & 50–950 ramp

primary
#5518A1
secondary
#91C74E
accent
#F1379E
background
#F9F5FB
surface
#F1EAF7
border
#CBC6D0
text
#0D0512
muted
#7E7981

Preview Lab

Preview with #5518A1

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

Preview Lab → · Contrast checker → · Palette generator →

#5518A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva