#55168B#55168B

#55168B is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.5% C 0.175 H 302.6°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#55168B
RGBrgb(85, 22, 139)
HSLhsl(272, 73%, 32%)
HSVhsv(272, 84%, 55%)
CMYKcmyk(38.8%, 84.2%, 0%, 45.5%)
CIE-LABlab(24.86, 49.16, -51.71)
CIE-LCHlch(24.86, 71.35, 313.55°)
OKLaboklab(37.48% 0.0944 -0.1477)
OKLCHoklch(37.48% 0.175 302.6)
XYZxyz(8.6923, 4.3692, 24.8065)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55168B #4C8B16
analogous
#1B168B #55168B #8B1687
triadic
#55168B #8B5516 #168B55
tetradic
#55168B #8B1B16 #4C8B16 #16878B
square
#55168B #8B1B16 #4C8B16 #16878B
split-complementary
#55168B #878B16 #168B1B
monochromatic
#140521 #350E56 #55168B #751EC0 #943BE0

Accessibility & contrast

On white

11.21
#55168B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#55168B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55168B
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55168B#FFFFFF#000000##FFFFFF
##55168B1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8E
Deuteranopia (green-blind)
#003B89
Tritanopia (blue-blind)
#493752
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #55168b;
/* rgb */ color: rgb(85, 22, 139);
/* oklch */ color: oklch(37.5% 0.175 302.6);
Tailwind
colors: {
  custom: {
    50: '#8b5dae',
    500: '#55168b',
    950: '#000000',
  },
}
SCSS
$custom: #55168b;
$custom-light: #8b5dae;
$custom-dark: #000000;
JSON
{
  "hex": "#55168b",
  "rgb": {
    "r": 85,
    "g": 22,
    "b": 139
  },
  "hsl": {
    "h": 272.308,
    "s": 72.671,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37483,
    "c": 0.17528,
    "h": 302.6
  },
  "luminance": 0.04369
}

Semantic roles & 50–950 ramp

primary
#55168B
secondary
#79BF3E
accent
#EF388D
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #55168B

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

Preview Lab → · Contrast checker → · Palette generator →

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