#55255F#55255F

#55255F is a dark, moderate purple. Relative luminance 0.041; OKLCH L 35.8% C 0.109 H 320.4°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#55255F
RGBrgb(85, 37, 95)
HSLhsl(290, 44%, 26%)
HSVhsv(290, 61%, 37%)
CMYKcmyk(10.5%, 61.1%, 0%, 62.7%)
CIE-LABlab(23.94, 32.05, -25.05)
CIE-LCHlch(23.94, 40.67, 321.99°)
OKLaboklab(35.78% 0.0843 -0.0696)
OKLCHoklch(35.78% 0.109 320.4)
XYZxyz(6.4732, 4.0809, 11.2710)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55255F #2F5F25
analogous
#38255F #55255F #5F254C
triadic
#55255F #5F5525 #255F55
tetradic
#55255F #5F3825 #2F5F25 #254C5F
square
#55255F #5F3825 #2F5F25 #254C5F
split-complementary
#55255F #4C5F25 #255F38
monochromatic
#140916 #2E1433 #55255F #7C368B #A447B7

Accessibility & contrast

On white

11.56
#55255F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#55255F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55255F
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55255F#FFFFFF#000000##FFFFFF
##55255F1.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193661
Deuteranopia (green-blind)
#2A3B5D
Tritanopia (blue-blind)
#562E3E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #55255f;
/* rgb */ color: rgb(85, 37, 95);
/* oklch */ color: oklch(35.8% 0.109 320.4);
Tailwind
colors: {
  custom: {
    50: '#87628d',
    500: '#55255f',
    950: '#000000',
  },
}
SCSS
$custom: #55255f;
$custom-light: #87628d;
$custom-dark: #000000;
JSON
{
  "hex": "#55255f",
  "rgb": {
    "r": 85,
    "g": 37,
    "b": 95
  },
  "hsl": {
    "h": 289.655,
    "s": 43.939,
    "l": 25.882
  },
  "oklch": {
    "l": 0.35784,
    "c": 0.10936,
    "h": 320.4
  },
  "luminance": 0.04081
}

Semantic roles & 50–950 ramp

primary
#55255F
secondary
#59924D
accent
#D4546A
background
#F8F5F8
surface
#F0EAF0
border
#CBC6CB
text
#0B050C
muted
#7C797D

Preview Lab

Preview with #55255F

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

Preview Lab → · Contrast checker → · Palette generator →

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