#55167D#55167D

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

Color values

HEX#55167D
RGBrgb(85, 22, 125)
HSLhsl(277, 70%, 29%)
HSVhsv(277, 82%, 49%)
CMYKcmyk(32%, 82.4%, 0%, 51%)
CIE-LABlab(23.62, 45.87, -44.91)
CIE-LCHlch(23.62, 64.20, 315.60°)
OKLaboklab(36.25% 0.0986 -0.1277)
OKLCHoklch(36.25% 0.161 307.7)
XYZxyz(7.7341, 3.9859, 19.7600)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55167D #3E7D16
analogous
#22167D #55167D #7D1672
triadic
#55167D #7D5516 #167D55
tetradic
#55167D #7D2216 #3E7D16 #16727D
square
#55167D #7D2216 #3E7D16 #16727D
split-complementary
#55167D #727D16 #167D22
monochromatic
#12051A #320D49 #55167D #781FB1 #9A32DB

Accessibility & contrast

On white

11.68
#55167D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#55167D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55167D
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55167D#FFFFFF#000000##FFFFFF
##55167D1.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003680
Deuteranopia (green-blind)
#00397B
Tritanopia (blue-blind)
#4E314A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #55167d;
/* rgb */ color: rgb(85, 22, 125);
/* oklch */ color: oklch(36.2% 0.161 307.7);
Tailwind
colors: {
  custom: {
    50: '#8a5ca3',
    500: '#55167d',
    950: '#000000',
  },
}
SCSS
$custom: #55167d;
$custom-light: #8a5ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#55167d",
  "rgb": {
    "r": 85,
    "g": 22,
    "b": 125
  },
  "hsl": {
    "h": 276.699,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.36246,
    "c": 0.16137,
    "h": 307.7
  },
  "luminance": 0.03986
}

Semantic roles & 50–950 ramp

primary
#55167D
secondary
#6AB23D
accent
#ED3B80
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #55167D

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

Preview Lab → · Contrast checker → · Palette generator →

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