#55157A#55157A

#55157A is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.9% C 0.159 H 309.0°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#55157A
RGBrgb(85, 21, 122)
HSLhsl(278, 71%, 28%)
HSVhsv(278, 83%, 48%)
CMYKcmyk(30.3%, 82.8%, 0%, 52.2%)
CIE-LABlab(23.25, 45.55, -43.62)
CIE-LCHlch(23.25, 63.07, 316.24°)
OKLaboklab(35.9% 0.1002 -0.1239)
OKLCHoklch(35.9% 0.159 309)
XYZxyz(7.5266, 3.8729, 18.7596)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55157A #3A7A15
analogous
#23157A #55157A #7A156C
triadic
#55157A #7A5515 #157A55
tetradic
#55157A #7A2315 #3A7A15 #156C7A
square
#55157A #7A2315 #3A7A15 #156C7A
split-complementary
#55157A #6C7A15 #157A23
monochromatic
#12041A #310C46 #55157A #791EAE #9C2EDB

Accessibility & contrast

On white

11.83
#55157A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#55157A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55157A
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55157A#FFFFFF#000000##FFFFFF
##55157A1.0011.831.7711.83
#FFFFFF11.831.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357D
Deuteranopia (green-blind)
#003878
Tritanopia (blue-blind)
#4F2F48
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #55157a;
/* rgb */ color: rgb(85, 21, 122);
/* oklch */ color: oklch(35.9% 0.159 309.0);
Tailwind
colors: {
  custom: {
    50: '#895ba1',
    500: '#55157a',
    950: '#000000',
  },
}
SCSS
$custom: #55157a;
$custom-light: #895ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#55157a",
  "rgb": {
    "r": 85,
    "g": 21,
    "b": 122
  },
  "hsl": {
    "h": 278.02,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.35903,
    "c": 0.15938,
    "h": 309
  },
  "luminance": 0.03873
}

Semantic roles & 50–950 ramp

primary
#55157A
secondary
#66AF3B
accent
#ED3A7C
background
#F8F5FA
surface
#F0E9F3
border
#CBC5CD
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #55157A

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

Preview Lab → · Contrast checker → · Palette generator →

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