#55167F#55167F

#55167F is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.4% C 0.163 H 306.9°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#55167F
RGBrgb(85, 22, 127)
HSLhsl(276, 70%, 29%)
HSVhsv(276, 83%, 50%)
CMYKcmyk(33.1%, 82.7%, 0%, 50.2%)
CIE-LABlab(23.80, 46.34, -45.90)
CIE-LCHlch(23.80, 65.22, 315.27°)
OKLaboklab(36.42% 0.0981 -0.1306)
OKLCHoklch(36.42% 0.163 306.9)
XYZxyz(7.8632, 4.0375, 20.4396)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55167F #407F16
analogous
#21167F #55167F #7F1675
triadic
#55167F #7F5516 #167F55
tetradic
#55167F #7F2116 #407F16 #16757F
square
#55167F #7F2116 #407F16 #16757F
split-complementary
#55167F #757F16 #167F21
monochromatic
#11051A #320D4B #55167F #781FB3 #9934DC

Accessibility & contrast

On white

11.62
#55167F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#55167F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55167F
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55167F#FFFFFF#000000##FFFFFF
##55167F1.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003782
Deuteranopia (green-blind)
#00397D
Tritanopia (blue-blind)
#4E324B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #55167f;
/* rgb */ color: rgb(85, 22, 127);
/* oklch */ color: oklch(36.4% 0.163 306.9);
Tailwind
colors: {
  custom: {
    50: '#8a5ca5',
    500: '#55167f',
    950: '#000000',
  },
}
SCSS
$custom: #55167f;
$custom-light: #8a5ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#55167f",
  "rgb": {
    "r": 85,
    "g": 22,
    "b": 127
  },
  "hsl": {
    "h": 276,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.36418,
    "c": 0.16334,
    "h": 306.9
  },
  "luminance": 0.04037
}

Semantic roles & 50–950 ramp

primary
#55167F
secondary
#6DB43D
accent
#ED3B82
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #55167F

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

Preview Lab → · Contrast checker → · Palette generator →

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