#55126E#55126E

#55126E is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.7% C 0.151 H 314.5°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#55126E
RGBrgb(85, 18, 110)
HSLhsl(284, 72%, 25%)
HSVhsv(284, 84%, 43%)
CMYKcmyk(22.7%, 83.6%, 0%, 56.9%)
CIE-LABlab(21.91, 43.93, -38.09)
CIE-LCHlch(21.91, 58.14, 319.08°)
OKLaboklab(34.66% 0.1056 -0.1076)
OKLCHoklch(34.66% 0.151 314.5)
XYZxyz(6.7766, 3.4899, 15.0655)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55126E #2B6E12
analogous
#27126E #55126E #6E1259
triadic
#55126E #6E5512 #126E55
tetradic
#55126E #6E2712 #2B6E12 #12596E
square
#55126E #6E2712 #2B6E12 #12596E
split-complementary
#55126E #596E12 #126E27
monochromatic
#14041A #2C0939 #55126E #7E1BA3 #A623D7

Accessibility & contrast

On white

12.37
#55126E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#55126E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55126E
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55126E#FFFFFF#000000##FFFFFF
##55126E1.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003170
Deuteranopia (green-blind)
#0A366C
Tritanopia (blue-blind)
#532840
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #55126e;
/* rgb */ color: rgb(85, 18, 110);
/* oklch */ color: oklch(34.7% 0.151 314.5);
Tailwind
colors: {
  custom: {
    50: '#895998',
    500: '#55126e',
    950: '#000000',
  },
}
SCSS
$custom: #55126e;
$custom-light: #895998;
$custom-dark: #000000;
JSON
{
  "hex": "#55126e",
  "rgb": {
    "r": 85,
    "g": 18,
    "b": 110
  },
  "hsl": {
    "h": 283.696,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.34659,
    "c": 0.15079,
    "h": 314.5
  },
  "luminance": 0.0349
}

Semantic roles & 50–950 ramp

primary
#55126E
secondary
#55A537
accent
#EF396A
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #55126E

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

Preview Lab → · Contrast checker → · Palette generator →

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