#55126A#55126A

#55126A is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.3% C 0.147 H 316.4°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#55126A
RGBrgb(85, 18, 106)
HSLhsl(286, 71%, 24%)
HSVhsv(286, 83%, 42%)
CMYKcmyk(19.8%, 83%, 0%, 58.4%)
CIE-LABlab(21.60, 43.08, -35.99)
CIE-LCHlch(21.60, 56.13, 320.12°)
OKLaboklab(34.34% 0.1064 -0.1015)
OKLCHoklch(34.34% 0.147 316.4)
XYZxyz(6.5637, 3.4048, 13.9443)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55126A #276A12
analogous
#29126A #55126A #6A1253
triadic
#55126A #6A5512 #126A55
tetradic
#55126A #6A2912 #276A12 #12536A
square
#55126A #6A2912 #276A12 #12536A
split-complementary
#55126A #536A12 #126A29
monochromatic
#15041A #2B0936 #55126A #7F1B9E #A924D3

Accessibility & contrast

On white

12.49
#55126A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#55126A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55126A
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55126A#FFFFFF#000000##FFFFFF
##55126A1.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306C
Deuteranopia (green-blind)
#113668
Tritanopia (blue-blind)
#54263E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #55126a;
/* rgb */ color: rgb(85, 18, 106);
/* oklch */ color: oklch(34.3% 0.147 316.4);
Tailwind
colors: {
  custom: {
    50: '#885995',
    500: '#55126a',
    950: '#000000',
  },
}
SCSS
$custom: #55126a;
$custom-light: #885995;
$custom-dark: #000000;
JSON
{
  "hex": "#55126a",
  "rgb": {
    "r": 85,
    "g": 18,
    "b": 106
  },
  "hsl": {
    "h": 285.682,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.34343,
    "c": 0.14703,
    "h": 316.4
  },
  "luminance": 0.03405
}

Semantic roles & 50–950 ramp

primary
#55126A
secondary
#50A236
accent
#EE3A65
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #55126A

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

Preview Lab → · Contrast checker → · Palette generator →

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