#55157C#55157C

#55157C is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.1% C 0.161 H 308.2°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#55157C
RGBrgb(85, 21, 124)
HSLhsl(277, 71%, 28%)
HSVhsv(277, 83%, 49%)
CMYKcmyk(31.5%, 83.1%, 0%, 51.4%)
CIE-LABlab(23.42, 46.00, -44.62)
CIE-LCHlch(23.42, 64.09, 315.87°)
OKLaboklab(36.07% 0.0997 -0.1269)
OKLCHoklch(36.07% 0.161 308.2)
XYZxyz(7.6518, 3.9230, 19.4190)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55157C #3C7C15
analogous
#22157C #55157C #7C156F
triadic
#55157C #7C5515 #157C55
tetradic
#55157C #7C2215 #3C7C15 #156F7C
square
#55157C #7C2215 #3C7C15 #156F7C
split-complementary
#55157C #6F7C15 #157C22
monochromatic
#12041A #310C48 #55157C #791EB0 #9B30DC

Accessibility & contrast

On white

11.77
#55157C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#55157C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55157C
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55157C#FFFFFF#000000##FFFFFF
##55157C1.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367F
Deuteranopia (green-blind)
#00387A
Tritanopia (blue-blind)
#4F3049
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #55157c;
/* rgb */ color: rgb(85, 21, 124);
/* oklch */ color: oklch(36.1% 0.161 308.2);
Tailwind
colors: {
  custom: {
    50: '#8a5ba3',
    500: '#55157c',
    950: '#000000',
  },
}
SCSS
$custom: #55157c;
$custom-light: #8a5ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#55157c",
  "rgb": {
    "r": 85,
    "g": 21,
    "b": 124
  },
  "hsl": {
    "h": 277.282,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.36073,
    "c": 0.16134,
    "h": 308.2
  },
  "luminance": 0.03923
}

Semantic roles & 50–950 ramp

primary
#55157C
secondary
#68B13C
accent
#EE3A7E
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #55157C

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

Preview Lab → · Contrast checker → · Palette generator →

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