#55147D#55147D

#55147D is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.1% C 0.163 H 307.9°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#55147D
RGBrgb(85, 20, 125)
HSLhsl(277, 72%, 28%)
HSVhsv(277, 84%, 49%)
CMYKcmyk(32%, 84%, 0%, 51%)
CIE-LABlab(23.38, 46.58, -45.31)
CIE-LCHlch(23.38, 64.99, 315.79°)
OKLaboklab(36.08% 0.1002 -0.1289)
OKLCHoklch(36.08% 0.163 307.9)
XYZxyz(7.6974, 3.9124, 19.7477)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55147D #3C7D14
analogous
#20147D #55147D #7D1470
triadic
#55147D #7D5514 #147D55
tetradic
#55147D #7D2014 #3C7D14 #14707D
square
#55147D #7D2014 #3C7D14 #14707D
split-complementary
#55147D #707D14 #147D20
monochromatic
#12041A #310C48 #55147D #791CB2 #9B2EDE

Accessibility & contrast

On white

11.78
#55147D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#55147D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55147D
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55147D#FFFFFF#000000##FFFFFF
##55147D1.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003680
Deuteranopia (green-blind)
#00387B
Tritanopia (blue-blind)
#4E304A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #55147d;
/* rgb */ color: rgb(85, 20, 125);
/* oklch */ color: oklch(36.1% 0.163 307.9);
Tailwind
colors: {
  custom: {
    50: '#8a5ba3',
    500: '#55147d',
    950: '#000000',
  },
}
SCSS
$custom: #55147d;
$custom-light: #8a5ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#55147d",
  "rgb": {
    "r": 85,
    "g": 20,
    "b": 125
  },
  "hsl": {
    "h": 277.143,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.36075,
    "c": 0.16326,
    "h": 307.9
  },
  "luminance": 0.03912
}

Semantic roles & 50–950 ramp

primary
#55147D
secondary
#68B23A
accent
#EF397E
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #55147D

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

Preview Lab → · Contrast checker → · Palette generator →

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