#55178C#55178C

#55178C is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.7% C 0.175 H 302.1°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#55178C
RGBrgb(85, 23, 140)
HSLhsl(272, 72%, 32%)
HSVhsv(272, 84%, 55%)
CMYKcmyk(39.3%, 83.6%, 0%, 45.1%)
CIE-LABlab(25.07, 49.05, -51.99)
CIE-LCHlch(25.07, 71.47, 313.34°)
OKLaboklab(37.66% 0.0933 -0.1485)
OKLCHoklch(37.66% 0.175 302.1)
XYZxyz(8.7852, 4.4375, 25.1995)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55178C #4E8C17
analogous
#1B178C #55178C #8C1789
triadic
#55178C #8C5517 #178C55
tetradic
#55178C #8C1B17 #4E8C17 #17898C
square
#55178C #8C1B17 #4E8C17 #17898C
split-complementary
#55178C #898C17 #178C1B
monochromatic
#150623 #350E57 #55178C #7520C1 #943EDF

Accessibility & contrast

On white

11.13
#55178C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#55178C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55178C
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55178C#FFFFFF#000000##FFFFFF
##55178C1.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8F
Deuteranopia (green-blind)
#003B8A
Tritanopia (blue-blind)
#493853
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #55178c;
/* rgb */ color: rgb(85, 23, 140);
/* oklch */ color: oklch(37.7% 0.175 302.1);
Tailwind
colors: {
  custom: {
    50: '#8b5daf',
    500: '#55178c',
    950: '#000000',
  },
}
SCSS
$custom: #55178c;
$custom-light: #8b5daf;
$custom-dark: #000000;
JSON
{
  "hex": "#55178c",
  "rgb": {
    "r": 85,
    "g": 23,
    "b": 140
  },
  "hsl": {
    "h": 271.795,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37658,
    "c": 0.17541,
    "h": 302.1
  },
  "luminance": 0.04438
}

Semantic roles & 50–950 ramp

primary
#55178C
secondary
#7CBF3F
accent
#EF398E
background
#F8F5FA
surface
#F0E9F5
border
#CBC5CF
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #55178C

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

Preview Lab → · Contrast checker → · Palette generator →

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