#55124C#55124C

#55124C is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.3% C 0.120 H 334.1°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#55124C
RGBrgb(85, 18, 76)
HSLhsl(308, 65%, 20%)
HSVhsv(308, 79%, 33%)
CMYKcmyk(0%, 78.8%, 10.6%, 66.7%)
CIE-LABlab(19.58, 37.25, -19.21)
CIE-LCHlch(19.58, 41.92, 332.72°)
OKLaboklab(32.26% 0.1081 -0.0526)
OKLCHoklch(32.26% 0.12 334.1)
XYZxyz(5.2672, 2.8862, 7.1158)
Luminance0.0289 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55124C #12551B
analogous
#3D1255 #55124C #55122A
triadic
#55124C #4C5512 #124C55
tetradic
#55124C #553D12 #12551B #122A55
square
#55124C #553D12 #12551B #122A55
split-complementary
#55124C #2A5512 #12553D
monochromatic
#190517 #22071F #55124C #881D79 #BA27A6

Accessibility & contrast

On white

13.31
#55124C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #55124C
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55124C#FFFFFF#000000##FFFFFF
##55124C1.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11294E
Deuteranopia (green-blind)
#29334A
Tritanopia (blue-blind)
#59182D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #55124c;
/* rgb */ color: rgb(85, 18, 76);
/* oklch */ color: oklch(32.3% 0.120 334.1);
Tailwind
colors: {
  custom: {
    50: '#88587e',
    500: '#55124c',
    950: '#000000',
  },
}
SCSS
$custom: #55124c;
$custom-light: #88587e;
$custom-dark: #000000;
JSON
{
  "hex": "#55124c",
  "rgb": {
    "r": 85,
    "g": 18,
    "b": 76
  },
  "hsl": {
    "h": 308.06,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.32263,
    "c": 0.12023,
    "h": 334.1
  },
  "luminance": 0.02886
}

Semantic roles & 50–950 ramp

primary
#55124C
secondary
#358E41
accent
#E85640
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #55124C

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

Preview Lab → · Contrast checker → · Palette generator →

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