#55168F#55168F

#55168F is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.9% C 0.179 H 301.3°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#55168F
RGBrgb(85, 22, 143)
HSLhsl(271, 73%, 32%)
HSVhsv(271, 85%, 56%)
CMYKcmyk(40.6%, 84.6%, 0%, 43.9%)
CIE-LABlab(25.22, 50.12, -53.60)
CIE-LCHlch(25.22, 73.38, 313.08°)
OKLaboklab(37.85% 0.093 -0.1532)
OKLCHoklch(37.85% 0.179 301.3)
XYZxyz(8.9899, 4.4882, 26.3740)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55168F #508F16
analogous
#19168F #55168F #8F168C
triadic
#55168F #8F5516 #168F55
tetradic
#55168F #8F1916 #508F16 #168C8F
square
#55168F #8F1916 #508F16 #168C8F
split-complementary
#55168F #8C8F16 #168F19
monochromatic
#160625 #350E5A #55168F #751EC4 #933EE1

Accessibility & contrast

On white

11.07
#55168F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#55168F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55168F
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55168F#FFFFFF#000000##FFFFFF
##55168F1.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B92
Deuteranopia (green-blind)
#003B8D
Tritanopia (blue-blind)
#483954
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #55168f;
/* rgb */ color: rgb(85, 22, 143);
/* oklch */ color: oklch(37.9% 0.179 301.3);
Tailwind
colors: {
  custom: {
    50: '#8b5db1',
    500: '#55168f',
    950: '#000000',
  },
}
SCSS
$custom: #55168f;
$custom-light: #8b5db1;
$custom-dark: #000000;
JSON
{
  "hex": "#55168f",
  "rgb": {
    "r": 85,
    "g": 22,
    "b": 143
  },
  "hsl": {
    "h": 271.24,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.3785,
    "c": 0.17927,
    "h": 301.3
  },
  "luminance": 0.04488
}

Semantic roles & 50–950 ramp

primary
#55168F
secondary
#7EC13F
accent
#F03890
background
#F9F5FB
surface
#F1E9F6
border
#CBC5D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #55168F

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

Preview Lab → · Contrast checker → · Palette generator →

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