#55124E#55124E

#55124E is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.4% C 0.122 H 332.6°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#55124E
RGBrgb(85, 18, 78)
HSLhsl(306, 65%, 20%)
HSVhsv(306, 79%, 33%)
CMYKcmyk(0%, 78.8%, 8.2%, 66.7%)
CIE-LABlab(19.70, 37.60, -20.39)
CIE-LCHlch(19.70, 42.78, 331.53°)
OKLaboklab(32.38% 0.1083 -0.056)
OKLCHoklch(32.38% 0.122 332.6)
XYZxyz(5.3378, 2.9144, 7.4877)
Luminance0.0291 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55124E #125519
analogous
#3B1255 #55124E #55122C
triadic
#55124E #4E5512 #124E55
tetradic
#55124E #553B12 #125519 #122C55
square
#55124E #553B12 #125519 #122C55
split-complementary
#55124E #2C5512 #12553B
monochromatic
#190517 #220720 #55124E #881D7C #BA27AB

Accessibility & contrast

On white

13.27
#55124E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#55124E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55124E
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55124E#FFFFFF#000000##FFFFFF
##55124E1.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2A50
Deuteranopia (green-blind)
#28334C
Tritanopia (blue-blind)
#59192E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #55124e;
/* rgb */ color: rgb(85, 18, 78);
/* oklch */ color: oklch(32.4% 0.122 332.6);
Tailwind
colors: {
  custom: {
    50: '#885880',
    500: '#55124e',
    950: '#000000',
  },
}
SCSS
$custom: #55124e;
$custom-light: #885880;
$custom-dark: #000000;
JSON
{
  "hex": "#55124e",
  "rgb": {
    "r": 85,
    "g": 18,
    "b": 78
  },
  "hsl": {
    "h": 306.269,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.32384,
    "c": 0.12189,
    "h": 332.6
  },
  "luminance": 0.02914
}

Semantic roles & 50–950 ramp

primary
#55124E
secondary
#358E3E
accent
#E85140
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #55124E

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

Preview Lab → · Contrast checker → · Palette generator →

#55124E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva