#55255A#55255A

#55255A is a dark, moderate purple. Relative luminance 0.040; OKLCH L 35.5% C 0.104 H 323.8°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#55255A
RGBrgb(85, 37, 90)
HSLhsl(294, 42%, 25%)
HSVhsv(294, 59%, 35%)
CMYKcmyk(5.6%, 58.9%, 0%, 64.7%)
CIE-LABlab(23.65, 30.95, -22.21)
CIE-LCHlch(23.65, 38.10, 324.33°)
OKLaboklab(35.48% 0.0838 -0.0614)
OKLCHoklch(35.48% 0.104 323.8)
XYZxyz(6.2532, 3.9929, 10.1122)
Luminance0.0399 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55255A #2A5A25
analogous
#3B255A #55255A #5A2544
triadic
#55255A #5A5525 #255A55
tetradic
#55255A #5A3B25 #2A5A25 #25445A
square
#55255A #5A3B25 #2A5A25 #25445A
split-complementary
#55255A #445A25 #255A3B
monochromatic
#140916 #2C132F #55255A #7E3785 #A749B1

Accessibility & contrast

On white

11.68
#55255A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#55255A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55255A
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55255A#FFFFFF#000000##FFFFFF
##55255A1.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D355C
Deuteranopia (green-blind)
#2D3A59
Tritanopia (blue-blind)
#572C3B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #55255a;
/* rgb */ color: rgb(85, 37, 90);
/* oklch */ color: oklch(35.5% 0.104 323.8);
Tailwind
colors: {
  custom: {
    50: '#876289',
    500: '#55255a',
    950: '#000000',
  },
}
SCSS
$custom: #55255a;
$custom-light: #876289;
$custom-dark: #000000;
JSON
{
  "hex": "#55255a",
  "rgb": {
    "r": 85,
    "g": 37,
    "b": 90
  },
  "hsl": {
    "h": 294.34,
    "s": 41.732,
    "l": 24.902
  },
  "oklch": {
    "l": 0.35478,
    "c": 0.10392,
    "h": 323.8
  },
  "luminance": 0.03993
}

Semantic roles & 50–950 ramp

primary
#55255A
secondary
#538D4D
accent
#D25662
background
#F8F5F8
surface
#F0EAF0
border
#CBC6CB
text
#0B050B
muted
#7C797C

Preview Lab

Preview with #55255A

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

Preview Lab → · Contrast checker → · Palette generator →

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