#55168E#55168E

#55168E is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.8% C 0.178 H 301.6°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#55168E
RGBrgb(85, 22, 142)
HSLhsl(272, 73%, 32%)
HSVhsv(272, 85%, 56%)
CMYKcmyk(40.1%, 84.5%, 0%, 44.3%)
CIE-LABlab(25.13, 49.88, -53.13)
CIE-LCHlch(25.13, 72.87, 313.20°)
OKLaboklab(37.76% 0.0934 -0.1519)
OKLCHoklch(37.76% 0.178 301.6)
XYZxyz(8.9145, 4.4581, 25.9768)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55168E #4F8E16
analogous
#19168E #55168E #8E168B
triadic
#55168E #8E5516 #168E55
tetradic
#55168E #8E1916 #4F8E16 #168B8E
square
#55168E #8E1916 #4F8E16 #168B8E
split-complementary
#55168E #8B8E16 #168E19
monochromatic
#160624 #350E59 #55168E #751EC3 #933DE1

Accessibility & contrast

On white

11.10
#55168E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#55168E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55168E
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55168E#FFFFFF#000000##FFFFFF
##55168E1.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B91
Deuteranopia (green-blind)
#003B8C
Tritanopia (blue-blind)
#483954
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #55168e;
/* rgb */ color: rgb(85, 22, 142);
/* oklch */ color: oklch(37.8% 0.178 301.6);
Tailwind
colors: {
  custom: {
    50: '#8b5db0',
    500: '#55168e',
    950: '#000000',
  },
}
SCSS
$custom: #55168e;
$custom-light: #8b5db0;
$custom-dark: #000000;
JSON
{
  "hex": "#55168e",
  "rgb": {
    "r": 85,
    "g": 22,
    "b": 142
  },
  "hsl": {
    "h": 271.5,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37758,
    "c": 0.17827,
    "h": 301.6
  },
  "luminance": 0.04458
}

Semantic roles & 50–950 ramp

primary
#55168E
secondary
#7DC13F
accent
#F0388F
background
#F9F5FB
surface
#F1E9F6
border
#CBC5D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #55168E

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

Preview Lab → · Contrast checker → · Palette generator →

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