#55147C#55147C

#55147C is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.0% C 0.162 H 308.3°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#55147C
RGBrgb(85, 20, 124)
HSLhsl(278, 72%, 28%)
HSVhsv(278, 84%, 49%)
CMYKcmyk(31.5%, 83.9%, 0%, 51.4%)
CIE-LABlab(23.29, 46.35, -44.82)
CIE-LCHlch(23.29, 64.48, 315.97°)
OKLaboklab(35.99% 0.1005 -0.1274)
OKLCHoklch(35.99% 0.162 308.3)
XYZxyz(7.6338, 3.8870, 19.4130)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55147C #3B7C14
analogous
#21147C #55147C #7C146F
triadic
#55147C #7C5514 #147C55
tetradic
#55147C #7C2114 #3B7C14 #146F7C
square
#55147C #7C2114 #3B7C14 #146F7C
split-complementary
#55147C #6F7C14 #147C21
monochromatic
#12041A #310B47 #55147C #791DB1 #9B2DDD

Accessibility & contrast

On white

11.82
#55147C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #55147C
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55147C#FFFFFF#000000##FFFFFF
##55147C1.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357F
Deuteranopia (green-blind)
#00387A
Tritanopia (blue-blind)
#4F3049
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #55147c;
/* rgb */ color: rgb(85, 20, 124);
/* oklch */ color: oklch(36.0% 0.162 308.3);
Tailwind
colors: {
  custom: {
    50: '#8a5ba3',
    500: '#55147c',
    950: '#000000',
  },
}
SCSS
$custom: #55147c;
$custom-light: #8a5ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#55147c",
  "rgb": {
    "r": 85,
    "g": 20,
    "b": 124
  },
  "hsl": {
    "h": 277.5,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.35989,
    "c": 0.1623,
    "h": 308.3
  },
  "luminance": 0.03887
}

Semantic roles & 50–950 ramp

primary
#55147C
secondary
#67B23A
accent
#EF397D
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #55147C

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

Preview Lab → · Contrast checker → · Palette generator →

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