#55126F#55126F

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

Color values

HEX#55126F
RGBrgb(85, 18, 111)
HSLhsl(283, 72%, 25%)
HSVhsv(283, 84%, 44%)
CMYKcmyk(23.4%, 83.8%, 0%, 56.5%)
CIE-LABlab(21.99, 44.15, -38.60)
CIE-LCHlch(21.99, 58.65, 318.83°)
OKLaboklab(34.74% 0.1054 -0.1092)
OKLCHoklch(34.74% 0.152 314)
XYZxyz(6.8314, 3.5118, 15.3538)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55126F #2C6F12
analogous
#27126F #55126F #6F125A
triadic
#55126F #6F5512 #126F55
tetradic
#55126F #6F2712 #2C6F12 #125A6F
square
#55126F #6F2712 #2C6F12 #125A6F
split-complementary
#55126F #5A6F12 #126F27
monochromatic
#14041A #2D093A #55126F #7D1BA4 #A623D8

Accessibility & contrast

On white

12.34
#55126F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #55126F
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55126F#FFFFFF#000000##FFFFFF
##55126F1.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003171
Deuteranopia (green-blind)
#08366D
Tritanopia (blue-blind)
#522941
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #55126f;
/* rgb */ color: rgb(85, 18, 111);
/* oklch */ color: oklch(34.7% 0.152 314.0);
Tailwind
colors: {
  custom: {
    50: '#895a99',
    500: '#55126f',
    950: '#000000',
  },
}
SCSS
$custom: #55126f;
$custom-light: #895a99;
$custom-dark: #000000;
JSON
{
  "hex": "#55126f",
  "rgb": {
    "r": 85,
    "g": 18,
    "b": 111
  },
  "hsl": {
    "h": 283.226,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.3474,
    "c": 0.15173,
    "h": 314
  },
  "luminance": 0.03512
}

Semantic roles & 50–950 ramp

primary
#55126F
secondary
#56A637
accent
#EF396C
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #55126F

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

Preview Lab → · Contrast checker → · Palette generator →

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