#55256C#55256C

#55256C is a dark, vivid purple. Relative luminance 0.043; OKLCH L 36.6% C 0.124 H 313.1°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#55256C
RGBrgb(85, 37, 108)
HSLhsl(281, 49%, 28%)
HSVhsv(281, 66%, 42%)
CMYKcmyk(21.3%, 65.7%, 0%, 57.6%)
CIE-LABlab(24.76, 35.04, -32.21)
CIE-LCHlch(24.76, 47.59, 317.41°)
OKLaboklab(36.65% 0.0847 -0.0905)
OKLCHoklch(36.65% 0.124 313.1)
XYZxyz(7.1142, 4.3373, 14.6469)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55256C #3C6C25
analogous
#31256C #55256C #6C255F
triadic
#55256C #6C5525 #256C55
tetradic
#55256C #6C3125 #3C6C25 #255F6C
square
#55256C #6C3125 #3C6C25 #255F6C
split-complementary
#55256C #5F6C25 #256C31
monochromatic
#120817 #31153E #55256C #79359A #9B4AC1

Accessibility & contrast

On white

11.25
#55256C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#55256C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55256C
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55256C#FFFFFF#000000##FFFFFF
##55256C1.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09386E
Deuteranopia (green-blind)
#213C6A
Tritanopia (blue-blind)
#533245
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #55256c;
/* rgb */ color: rgb(85, 37, 108);
/* oklch */ color: oklch(36.6% 0.124 313.1);
Tailwind
colors: {
  custom: {
    50: '#876396',
    500: '#55256c',
    950: '#000000',
  },
}
SCSS
$custom: #55256c;
$custom-light: #876396;
$custom-dark: #000000;
JSON
{
  "hex": "#55256c",
  "rgb": {
    "r": 85,
    "g": 37,
    "b": 108
  },
  "hsl": {
    "h": 280.563,
    "s": 48.966,
    "l": 28.431
  },
  "oklch": {
    "l": 0.36645,
    "c": 0.12397,
    "h": 313.1
  },
  "luminance": 0.04337
}

Semantic roles & 50–950 ramp

primary
#55256C
secondary
#689F4E
accent
#D94F7C
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C050D
muted
#7D7A7E

Preview Lab

Preview with #55256C

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

Preview Lab → · Contrast checker → · Palette generator →

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