#55147B#55147B

#55147B is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.9% C 0.161 H 308.7°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#55147B
RGBrgb(85, 20, 123)
HSLhsl(278, 72%, 28%)
HSVhsv(278, 84%, 48%)
CMYKcmyk(30.9%, 83.7%, 0%, 51.8%)
CIE-LABlab(23.21, 46.13, -44.32)
CIE-LCHlch(23.21, 63.97, 316.14°)
OKLaboklab(35.9% 0.1008 -0.126)
OKLCHoklch(35.9% 0.161 308.7)
XYZxyz(7.5709, 3.8618, 19.0816)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55147B #3A7B14
analogous
#21147B #55147B #7B146D
triadic
#55147B #7B5514 #147B55
tetradic
#55147B #7B2114 #3A7B14 #146D7B
square
#55147B #7B2114 #3A7B14 #146D7B
split-complementary
#55147B #6D7B14 #147B21
monochromatic
#12041A #310B46 #55147B #791DB0 #9C2DDD

Accessibility & contrast

On white

11.85
#55147B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #55147B
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55147B#FFFFFF#000000##FFFFFF
##55147B1.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #55147b;
/* rgb */ color: rgb(85, 20, 123);
/* oklch */ color: oklch(35.9% 0.161 308.7);
Tailwind
colors: {
  custom: {
    50: '#895ba2',
    500: '#55147b',
    950: '#000000',
  },
}
SCSS
$custom: #55147b;
$custom-light: #895ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#55147b",
  "rgb": {
    "r": 85,
    "g": 20,
    "b": 123
  },
  "hsl": {
    "h": 277.864,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.35903,
    "c": 0.16132,
    "h": 308.7
  },
  "luminance": 0.03862
}

Semantic roles & 50–950 ramp

primary
#55147B
secondary
#66B13A
accent
#EF397C
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #55147B

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

Preview Lab → · Contrast checker → · Palette generator →

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