#55157D#55157D

#55157D is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.2% C 0.162 H 307.8°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#55157D
RGBrgb(85, 21, 125)
HSLhsl(277, 71%, 29%)
HSVhsv(277, 83%, 49%)
CMYKcmyk(32%, 83.2%, 0%, 51%)
CIE-LABlab(23.50, 46.23, -45.12)
CIE-LCHlch(23.50, 64.60, 315.70°)
OKLaboklab(36.16% 0.0994 -0.1283)
OKLCHoklch(36.16% 0.162 307.8)
XYZxyz(7.7154, 3.9484, 19.7537)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55157D #3D7D15
analogous
#21157D #55157D #7D1571
triadic
#55157D #7D5515 #157D55
tetradic
#55157D #7D2115 #3D7D15 #15717D
square
#55157D #7D2115 #3D7D15 #15717D
split-complementary
#55157D #717D15 #157D21
monochromatic
#12041A #310C49 #55157D #791EB1 #9A30DC

Accessibility & contrast

On white

11.73
#55157D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#55157D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55157D
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55157D#FFFFFF#000000##FFFFFF
##55157D1.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003680
Deuteranopia (green-blind)
#00387B
Tritanopia (blue-blind)
#4E304A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #55157d;
/* rgb */ color: rgb(85, 21, 125);
/* oklch */ color: oklch(36.2% 0.162 307.8);
Tailwind
colors: {
  custom: {
    50: '#8a5ca3',
    500: '#55157d',
    950: '#000000',
  },
}
SCSS
$custom: #55157d;
$custom-light: #8a5ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#55157d",
  "rgb": {
    "r": 85,
    "g": 21,
    "b": 125
  },
  "hsl": {
    "h": 276.923,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.36159,
    "c": 0.16233,
    "h": 307.8
  },
  "luminance": 0.03948
}

Semantic roles & 50–950 ramp

primary
#55157D
secondary
#69B23C
accent
#EE3A7F
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #55157D

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

Preview Lab → · Contrast checker → · Palette generator →

#55157D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva