#55147A#55147A

#55147A is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.8% C 0.160 H 309.1°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#55147A
RGBrgb(85, 20, 122)
HSLhsl(278, 72%, 28%)
HSVhsv(278, 84%, 48%)
CMYKcmyk(30.3%, 83.6%, 0%, 52.2%)
CIE-LABlab(23.12, 45.90, -43.82)
CIE-LCHlch(23.12, 63.46, 316.33°)
OKLaboklab(35.82% 0.101 -0.1245)
OKLCHoklch(35.82% 0.16 309.1)
XYZxyz(7.5086, 3.8369, 18.7536)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55147A #397A14
analogous
#22147A #55147A #7A146C
triadic
#55147A #7A5514 #147A55
tetradic
#55147A #7A2214 #397A14 #146C7A
square
#55147A #7A2214 #397A14 #146C7A
split-complementary
#55147A #6C7A14 #147A22
monochromatic
#12041A #300B45 #55147A #7A1DAF #9C2CDC

Accessibility & contrast

On white

11.88
#55147A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#55147A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55147A
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55147A#FFFFFF#000000##FFFFFF
##55147A1.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357D
Deuteranopia (green-blind)
#003878
Tritanopia (blue-blind)
#4F2F48
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #55147a;
/* rgb */ color: rgb(85, 20, 122);
/* oklch */ color: oklch(35.8% 0.160 309.1);
Tailwind
colors: {
  custom: {
    50: '#895ba1',
    500: '#55147a',
    950: '#000000',
  },
}
SCSS
$custom: #55147a;
$custom-light: #895ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#55147a",
  "rgb": {
    "r": 85,
    "g": 20,
    "b": 122
  },
  "hsl": {
    "h": 278.235,
    "s": 71.831,
    "l": 27.843
  },
  "oklch": {
    "l": 0.35818,
    "c": 0.16035,
    "h": 309.1
  },
  "luminance": 0.03837
}

Semantic roles & 50–950 ramp

primary
#55147A
secondary
#65B03A
accent
#EF397B
background
#F8F5FA
surface
#F0E9F3
border
#CBC5CD
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #55147A

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

Preview Lab → · Contrast checker → · Palette generator →

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