#55167E#55167E

#55167E is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.3% C 0.162 H 307.3°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#55167E
RGBrgb(85, 22, 126)
HSLhsl(276, 70%, 29%)
HSVhsv(276, 83%, 49%)
CMYKcmyk(32.5%, 82.5%, 0%, 50.6%)
CIE-LABlab(23.71, 46.10, -45.41)
CIE-LCHlch(23.71, 64.71, 315.43°)
OKLaboklab(36.33% 0.0983 -0.1292)
OKLCHoklch(36.33% 0.162 307.3)
XYZxyz(7.7983, 4.0116, 20.0981)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55167E #3F7E16
analogous
#21167E #55167E #7E1673
triadic
#55167E #7E5516 #167E55
tetradic
#55167E #7E2116 #3F7E16 #16737E
square
#55167E #7E2116 #3F7E16 #16737E
split-complementary
#55167E #737E16 #167E21
monochromatic
#12051A #320D4A #55167E #781FB2 #9933DB

Accessibility & contrast

On white

11.65
#55167E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #55167E
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55167E#FFFFFF#000000##FFFFFF
##55167E1.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #55167e;
/* rgb */ color: rgb(85, 22, 126);
/* oklch */ color: oklch(36.3% 0.162 307.3);
Tailwind
colors: {
  custom: {
    50: '#8a5ca4',
    500: '#55167e',
    950: '#000000',
  },
}
SCSS
$custom: #55167e;
$custom-light: #8a5ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#55167e",
  "rgb": {
    "r": 85,
    "g": 22,
    "b": 126
  },
  "hsl": {
    "h": 276.346,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36331,
    "c": 0.16235,
    "h": 307.3
  },
  "luminance": 0.04011
}

Semantic roles & 50–950 ramp

primary
#55167E
secondary
#6BB33D
accent
#ED3B81
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #55167E

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

Preview Lab → · Contrast checker → · Palette generator →

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