#55266A#55266A

#55266A is a dark, vivid purple. Relative luminance 0.044; OKLCH L 36.7% C 0.120 H 314.0°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#55266A
RGBrgb(85, 38, 106)
HSLhsl(281, 47%, 28%)
HSVhsv(281, 64%, 42%)
CMYKcmyk(19.8%, 64.2%, 0%, 58.4%)
CIE-LABlab(24.82, 34.03, -30.81)
CIE-LCHlch(24.82, 45.90, 317.84°)
OKLaboklab(36.65% 0.0833 -0.0864)
OKLCHoklch(36.65% 0.12 314)
XYZxyz(7.0405, 4.3583, 14.1032)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55266A #3B6A26
analogous
#33266A #55266A #6A265D
triadic
#55266A #6A5526 #266A55
tetradic
#55266A #6A3326 #3B6A26 #265D6A
square
#55266A #6A3326 #3B6A26 #265D6A
split-complementary
#55266A #5D6A26 #266A33
monochromatic
#120817 #31163D #55266A #793697 #9B4CBF

Accessibility & contrast

On white

11.22
#55266A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#55266A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55266A
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55266A#FFFFFF#000000##FFFFFF
##55266A1.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F386C
Deuteranopia (green-blind)
#233C68
Tritanopia (blue-blind)
#533244
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #55266a;
/* rgb */ color: rgb(85, 38, 106);
/* oklch */ color: oklch(36.7% 0.120 314.0);
Tailwind
colors: {
  custom: {
    50: '#876395',
    500: '#55266a',
    950: '#000000',
  },
}
SCSS
$custom: #55266a;
$custom-light: #876395;
$custom-dark: #000000;
JSON
{
  "hex": "#55266a",
  "rgb": {
    "r": 85,
    "g": 38,
    "b": 106
  },
  "hsl": {
    "h": 281.471,
    "s": 47.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.36651,
    "c": 0.12008,
    "h": 314
  },
  "luminance": 0.04358
}

Semantic roles & 50–950 ramp

primary
#55266A
secondary
#679D4F
accent
#D7517A
background
#F8F6F9
surface
#F0EBF1
border
#CBC6CB
text
#0B050D
muted
#7C7A7E

Preview Lab

Preview with #55266A

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

Preview Lab → · Contrast checker → · Palette generator →

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