#55168C#55168C

#55168C is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.6% C 0.176 H 302.2°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#55168C
RGBrgb(85, 22, 140)
HSLhsl(272, 73%, 32%)
HSVhsv(272, 84%, 55%)
CMYKcmyk(39.3%, 84.3%, 0%, 45.1%)
CIE-LABlab(24.95, 49.40, -52.18)
CIE-LCHlch(24.95, 71.86, 313.43°)
OKLaboklab(37.57% 0.0941 -0.1491)
OKLCHoklch(37.57% 0.176 302.2)
XYZxyz(8.7657, 4.3985, 25.1931)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55168C #4D8C16
analogous
#1A168C #55168C #8C1688
triadic
#55168C #8C5516 #168C55
tetradic
#55168C #8C1A16 #4D8C16 #16888C
square
#55168C #8C1A16 #4D8C16 #16888C
split-complementary
#55168C #888C16 #168C1A
monochromatic
#150522 #350E57 #55168C #751EC1 #943CE0

Accessibility & contrast

On white

11.17
#55168C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#55168C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55168C
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55168C#FFFFFF#000000##FFFFFF
##55168C1.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #55168c;
/* rgb */ color: rgb(85, 22, 140);
/* oklch */ color: oklch(37.6% 0.176 302.2);
Tailwind
colors: {
  custom: {
    50: '#8b5daf',
    500: '#55168c',
    950: '#000000',
  },
}
SCSS
$custom: #55168c;
$custom-light: #8b5daf;
$custom-dark: #000000;
JSON
{
  "hex": "#55168c",
  "rgb": {
    "r": 85,
    "g": 22,
    "b": 140
  },
  "hsl": {
    "h": 272.034,
    "s": 72.84,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37574,
    "c": 0.17628,
    "h": 302.2
  },
  "luminance": 0.04399
}

Semantic roles & 50–950 ramp

primary
#55168C
secondary
#7BC03E
accent
#F0388E
background
#F8F5FA
surface
#F0E9F5
border
#CBC5CF
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #55168C

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

Preview Lab → · Contrast checker → · Palette generator →

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