#55176B#55176B

#55176B is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.9% C 0.142 H 315.4°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#55176B
RGBrgb(85, 23, 107)
HSLhsl(284, 65%, 25%)
HSVhsv(284, 79%, 42%)
CMYKcmyk(20.6%, 78.5%, 0%, 58%)
CIE-LABlab(22.32, 41.42, -35.47)
CIE-LCHlch(22.32, 54.53, 319.43°)
OKLaboklab(34.88% 0.1015 -0.1)
OKLCHoklch(34.88% 0.142 315.4)
XYZxyz(6.7061, 3.6059, 14.2498)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55176B #2D6B17
analogous
#2B176B #55176B #6B1757
triadic
#55176B #6B5517 #176B55
tetradic
#55176B #6B2B17 #2D6B17 #17576B
square
#55176B #6B2B17 #2D6B17 #17576B
split-complementary
#55176B #576B17 #176B2B
monochromatic
#140519 #2D0C39 #55176B #7D229D #A52DD0

Accessibility & contrast

On white

12.20
#55176B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#55176B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55176B
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55176B#FFFFFF#000000##FFFFFF
##55176B1.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326D
Deuteranopia (green-blind)
#143769
Tritanopia (blue-blind)
#532940
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #55176b;
/* rgb */ color: rgb(85, 23, 107);
/* oklch */ color: oklch(34.9% 0.142 315.4);
Tailwind
colors: {
  custom: {
    50: '#885b96',
    500: '#55176b',
    950: '#000000',
  },
}
SCSS
$custom: #55176b;
$custom-light: #885b96;
$custom-dark: #000000;
JSON
{
  "hex": "#55176b",
  "rgb": {
    "r": 85,
    "g": 23,
    "b": 107
  },
  "hsl": {
    "h": 284.286,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.34879,
    "c": 0.14246,
    "h": 315.4
  },
  "luminance": 0.03606
}

Semantic roles & 50–950 ramp

primary
#55176B
secondary
#57A13D
accent
#E8406C
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #55176B

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

Preview Lab → · Contrast checker → · Palette generator →

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