#55147F#55147F

#55147F is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.165 H 307.1°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#55147F
RGBrgb(85, 20, 127)
HSLhsl(276, 73%, 29%)
HSVhsv(276, 84%, 50%)
CMYKcmyk(33.1%, 84.3%, 0%, 50.2%)
CIE-LABlab(23.55, 47.04, -46.30)
CIE-LCHlch(23.55, 66.01, 315.46°)
OKLaboklab(36.25% 0.0996 -0.1318)
OKLCHoklch(36.25% 0.165 307.1)
XYZxyz(7.8264, 3.9640, 20.4274)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55147F #3E7F14
analogous
#20147F #55147F #7F1474
triadic
#55147F #7F5514 #147F55
tetradic
#55147F #7F2014 #3E7F14 #14747F
square
#55147F #7F2014 #3E7F14 #14747F
split-complementary
#55147F #747F14 #147F20
monochromatic
#12041A #320C4A #55147F #781CB4 #9A2FDE

Accessibility & contrast

On white

11.71
#55147F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#55147F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55147F
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55147F#FFFFFF#000000##FFFFFF
##55147F1.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003682
Deuteranopia (green-blind)
#00387D
Tritanopia (blue-blind)
#4E314B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #55147f;
/* rgb */ color: rgb(85, 20, 127);
/* oklch */ color: oklch(36.2% 0.165 307.1);
Tailwind
colors: {
  custom: {
    50: '#8a5ba5',
    500: '#55147f',
    950: '#000000',
  },
}
SCSS
$custom: #55147f;
$custom-light: #8a5ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#55147f",
  "rgb": {
    "r": 85,
    "g": 20,
    "b": 127
  },
  "hsl": {
    "h": 276.449,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.36248,
    "c": 0.16522,
    "h": 307.1
  },
  "luminance": 0.03964
}

Semantic roles & 50–950 ramp

primary
#55147F
secondary
#6AB43B
accent
#EF3880
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #55147F

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

Preview Lab → · Contrast checker → · Palette generator →

#55147F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva