#55126D#55126D

#55126D is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.6% C 0.150 H 314.9°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#55126D
RGBrgb(85, 18, 109)
HSLhsl(284, 72%, 25%)
HSVhsv(284, 83%, 43%)
CMYKcmyk(22%, 83.5%, 0%, 57.3%)
CIE-LABlab(21.83, 43.72, -37.56)
CIE-LCHlch(21.83, 57.64, 319.33°)
OKLaboklab(34.58% 0.1058 -0.1061)
OKLCHoklch(34.58% 0.15 314.9)
XYZxyz(6.7225, 3.4683, 14.7804)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55126D #2A6D12
analogous
#28126D #55126D #6D1258
triadic
#55126D #6D5512 #126D55
tetradic
#55126D #6D2812 #2A6D12 #12586D
square
#55126D #6D2812 #2A6D12 #12586D
split-complementary
#55126D #586D12 #126D28
monochromatic
#14041A #2C0938 #55126D #7E1BA2 #A723D6

Accessibility & contrast

On white

12.40
#55126D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#55126D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55126D
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55126D#FFFFFF#000000##FFFFFF
##55126D1.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316F
Deuteranopia (green-blind)
#0C366B
Tritanopia (blue-blind)
#532840
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #55126d;
/* rgb */ color: rgb(85, 18, 109);
/* oklch */ color: oklch(34.6% 0.150 314.9);
Tailwind
colors: {
  custom: {
    50: '#895997',
    500: '#55126d',
    950: '#000000',
  },
}
SCSS
$custom: #55126d;
$custom-light: #895997;
$custom-dark: #000000;
JSON
{
  "hex": "#55126d",
  "rgb": {
    "r": 85,
    "g": 18,
    "b": 109
  },
  "hsl": {
    "h": 284.176,
    "s": 71.654,
    "l": 24.902
  },
  "oklch": {
    "l": 0.34579,
    "c": 0.14985,
    "h": 314.9
  },
  "luminance": 0.03468
}

Semantic roles & 50–950 ramp

primary
#55126D
secondary
#53A437
accent
#EE3969
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #55126D

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

Preview Lab → · Contrast checker → · Palette generator →

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