#55255D#55255D

#55255D is a dark, moderate purple. Relative luminance 0.040; OKLCH L 35.7% C 0.107 H 321.7°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#55255D
RGBrgb(85, 37, 93)
HSLhsl(291, 43%, 25%)
HSVhsv(291, 60%, 36%)
CMYKcmyk(8.6%, 60.2%, 0%, 63.5%)
CIE-LABlab(23.82, 31.60, -23.92)
CIE-LCHlch(23.82, 39.64, 322.88°)
OKLaboklab(35.66% 0.0841 -0.0664)
OKLCHoklch(35.66% 0.107 321.7)
XYZxyz(6.3834, 4.0450, 10.7983)
Luminance0.0404 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55255D #2D5D25
analogous
#39255D #55255D #5D2549
triadic
#55255D #5D5525 #255D55
tetradic
#55255D #5D3925 #2D5D25 #25495D
square
#55255D #5D3925 #2D5D25 #25495D
split-complementary
#55255D #495D25 #255D39
monochromatic
#140916 #2D1431 #55255D #7D3689 #A548B5

Accessibility & contrast

On white

11.61
#55255D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#55255D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55255D
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55255D#FFFFFF#000000##FFFFFF
##55255D1.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B355F
Deuteranopia (green-blind)
#2B3B5B
Tritanopia (blue-blind)
#562D3D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #55255d;
/* rgb */ color: rgb(85, 37, 93);
/* oklch */ color: oklch(35.7% 0.107 321.7);
Tailwind
colors: {
  custom: {
    50: '#87628b',
    500: '#55255d',
    950: '#000000',
  },
}
SCSS
$custom: #55255d;
$custom-light: #87628b;
$custom-dark: #000000;
JSON
{
  "hex": "#55255d",
  "rgb": {
    "r": 85,
    "g": 37,
    "b": 93
  },
  "hsl": {
    "h": 291.429,
    "s": 43.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.3566,
    "c": 0.10717,
    "h": 321.7
  },
  "luminance": 0.04045
}

Semantic roles & 50–950 ramp

primary
#55255D
secondary
#57904D
accent
#D35567
background
#F8F5F8
surface
#F0EAF0
border
#CBC6CB
text
#0B050C
muted
#7C797D

Preview Lab

Preview with #55255D

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

Preview Lab → · Contrast checker → · Palette generator →

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