#55125A#55125A

#55125A is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.2% C 0.132 H 324.9°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#55125A
RGBrgb(85, 18, 90)
HSLhsl(296, 67%, 21%)
HSVhsv(296, 80%, 35%)
CMYKcmyk(5.6%, 80%, 0%, 64.7%)
CIE-LABlab(20.45, 39.83, -27.28)
CIE-LCHlch(20.45, 48.28, 325.59°)
OKLaboklab(33.16% 0.1083 -0.076)
OKLCHoklch(33.16% 0.132 324.9)
XYZxyz(5.8079, 3.1025, 9.9638)
Luminance0.0310 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55125A #175A12
analogous
#31125A #55125A #5A123B
triadic
#55125A #5A5512 #125A55
tetradic
#55125A #5A3112 #175A12 #123B5A
square
#55125A #5A3112 #175A12 #123B5A
split-complementary
#55125A #3B5A12 #125A31
monochromatic
#18051A #250827 #55125A #851C8D #B526C0

Accessibility & contrast

On white

12.96
#55125A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#55125A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55125A
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55125A#FFFFFF#000000##FFFFFF
##55125A1.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5C
Deuteranopia (green-blind)
#213458
Tritanopia (blue-blind)
#571F35
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #55125a;
/* rgb */ color: rgb(85, 18, 90);
/* oklch */ color: oklch(33.2% 0.132 324.9);
Tailwind
colors: {
  custom: {
    50: '#885889',
    500: '#55125a',
    950: '#000000',
  },
}
SCSS
$custom: #55125a;
$custom-light: #885889;
$custom-dark: #000000;
JSON
{
  "hex": "#55125a",
  "rgb": {
    "r": 85,
    "g": 18,
    "b": 90
  },
  "hsl": {
    "h": 295.833,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.33164,
    "c": 0.13232,
    "h": 324.9
  },
  "luminance": 0.03102
}

Semantic roles & 50–950 ramp

primary
#55125A
secondary
#3C9335
accent
#EA3E4A
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #55125A

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

Preview Lab → · Contrast checker → · Palette generator →

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