#55167A#55167A

#55167A is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.0% C 0.158 H 308.9°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#55167A
RGBrgb(85, 22, 122)
HSLhsl(278, 69%, 28%)
HSVhsv(278, 82%, 48%)
CMYKcmyk(30.3%, 82%, 0%, 52.2%)
CIE-LABlab(23.37, 45.18, -43.42)
CIE-LCHlch(23.37, 62.66, 316.14°)
OKLaboklab(35.99% 0.0994 -0.1233)
OKLCHoklch(35.99% 0.158 308.9)
XYZxyz(7.5454, 3.9104, 18.7659)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55167A #3B7A16
analogous
#23167A #55167A #7A166D
triadic
#55167A #7A5516 #167A55
tetradic
#55167A #7A2316 #3B7A16 #166D7A
square
#55167A #7A2316 #3B7A16 #166D7A
split-complementary
#55167A #6D7A16 #167A23
monochromatic
#12051A #310D46 #55167A #791FAE #9B31DA

Accessibility & contrast

On white

11.78
#55167A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#55167A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55167A
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55167A#FFFFFF#000000##FFFFFF
##55167A1.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357D
Deuteranopia (green-blind)
#003878
Tritanopia (blue-blind)
#4F3048
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #55167a;
/* rgb */ color: rgb(85, 22, 122);
/* oklch */ color: oklch(36.0% 0.158 308.9);
Tailwind
colors: {
  custom: {
    50: '#895ca1',
    500: '#55167a',
    950: '#000000',
  },
}
SCSS
$custom: #55167a;
$custom-light: #895ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#55167a",
  "rgb": {
    "r": 85,
    "g": 22,
    "b": 122
  },
  "hsl": {
    "h": 277.8,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.35991,
    "c": 0.15839,
    "h": 308.9
  },
  "luminance": 0.0391
}

Semantic roles & 50–950 ramp

primary
#55167A
secondary
#67AF3D
accent
#EC3C7D
background
#F8F5FA
surface
#F0E9F3
border
#CBC5CD
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #55167A

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

Preview Lab → · Contrast checker → · Palette generator →

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