#55167C#55167C

#55167C is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.160 H 308.1°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#55167C
RGBrgb(85, 22, 124)
HSLhsl(277, 70%, 29%)
HSVhsv(277, 82%, 49%)
CMYKcmyk(31.5%, 82.3%, 0%, 51.4%)
CIE-LABlab(23.54, 45.64, -44.42)
CIE-LCHlch(23.54, 63.68, 315.78°)
OKLaboklab(36.16% 0.0989 -0.1263)
OKLCHoklch(36.16% 0.16 308.1)
XYZxyz(7.6705, 3.9605, 19.4252)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55167C #3D7C16
analogous
#22167C #55167C #7C1670
triadic
#55167C #7C5516 #167C55
tetradic
#55167C #7C2216 #3D7C16 #16707C
square
#55167C #7C2216 #3D7C16 #16707C
split-complementary
#55167C #707C16 #167C22
monochromatic
#12051A #310D48 #55167C #791FB0 #9A32DB

Accessibility & contrast

On white

11.72
#55167C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#55167C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55167C
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55167C#FFFFFF#000000##FFFFFF
##55167C1.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367F
Deuteranopia (green-blind)
#00397A
Tritanopia (blue-blind)
#4F3049
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #55167c;
/* rgb */ color: rgb(85, 22, 124);
/* oklch */ color: oklch(36.2% 0.160 308.1);
Tailwind
colors: {
  custom: {
    50: '#895ca3',
    500: '#55167c',
    950: '#000000',
  },
}
SCSS
$custom: #55167c;
$custom-light: #895ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#55167c",
  "rgb": {
    "r": 85,
    "g": 22,
    "b": 124
  },
  "hsl": {
    "h": 277.059,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3616,
    "c": 0.16037,
    "h": 308.1
  },
  "luminance": 0.0396
}

Semantic roles & 50–950 ramp

primary
#55167C
secondary
#69B13D
accent
#ED3B7F
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #55167C

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

Preview Lab → · Contrast checker → · Palette generator →

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