#55256A#55256A

#55256A is a dark, vivid purple. Relative luminance 0.043; OKLCH L 36.5% C 0.122 H 314.1°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#55256A
RGBrgb(85, 37, 106)
HSLhsl(282, 48%, 28%)
HSVhsv(282, 65%, 42%)
CMYKcmyk(19.8%, 65.1%, 0%, 58.4%)
CIE-LABlab(24.62, 34.57, -31.13)
CIE-LCHlch(24.62, 46.52, 318.00°)
OKLaboklab(36.51% 0.0847 -0.0874)
OKLCHoklch(36.51% 0.122 314.1)
XYZxyz(7.0090, 4.2953, 14.0927)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55256A #3A6A25
analogous
#32256A #55256A #6A255C
triadic
#55256A #6A5525 #256A55
tetradic
#55256A #6A3225 #3A6A25 #255C6A
square
#55256A #6A3225 #3A6A25 #255C6A
split-complementary
#55256A #5C6A25 #256A32
monochromatic
#120817 #31153D #55256A #793597 #9C4AC0

Accessibility & contrast

On white

11.30
#55256A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#55256A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55256A
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55256A#FFFFFF#000000##FFFFFF
##55256A1.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #55256a;
/* rgb */ color: rgb(85, 37, 106);
/* oklch */ color: oklch(36.5% 0.122 314.1);
Tailwind
colors: {
  custom: {
    50: '#876395',
    500: '#55256a',
    950: '#000000',
  },
}
SCSS
$custom: #55256a;
$custom-light: #876395;
$custom-dark: #000000;
JSON
{
  "hex": "#55256a",
  "rgb": {
    "r": 85,
    "g": 37,
    "b": 106
  },
  "hsl": {
    "h": 281.739,
    "s": 48.252,
    "l": 28.039
  },
  "oklch": {
    "l": 0.36507,
    "c": 0.1217,
    "h": 314.1
  },
  "luminance": 0.04295
}

Semantic roles & 50–950 ramp

primary
#55256A
secondary
#669D4E
accent
#D85079
background
#F8F6F9
surface
#F0EBF1
border
#CBC6CB
text
#0B050D
muted
#7C7A7E

Preview Lab

Preview with #55256A

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

Preview Lab → · Contrast checker → · Palette generator →

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