#55125B#55125B

#55125B is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.2% C 0.133 H 324.4°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#55125B
RGBrgb(85, 18, 91)
HSLhsl(295, 67%, 21%)
HSVhsv(295, 80%, 36%)
CMYKcmyk(6.6%, 80.2%, 0%, 64.3%)
CIE-LABlab(20.52, 40.02, -27.84)
CIE-LCHlch(20.52, 48.75, 325.18°)
OKLaboklab(33.23% 0.1083 -0.0776)
OKLCHoklch(33.23% 0.133 324.4)
XYZxyz(5.8508, 3.1196, 10.1895)
Luminance0.0312 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55125B #185B12
analogous
#31125B #55125B #5B123D
triadic
#55125B #5B5512 #125B55
tetradic
#55125B #5B3112 #185B12 #123D5B
square
#55125B #5B3112 #185B12 #123D5B
split-complementary
#55125B #3D5B12 #125B31
monochromatic
#18051A #250828 #55125B #851C8E #B426C1

Accessibility & contrast

On white

12.93
#55125B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#55125B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55125B
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55125B#FFFFFF#000000##FFFFFF
##55125B1.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5D
Deuteranopia (green-blind)
#203459
Tritanopia (blue-blind)
#571F36
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #55125b;
/* rgb */ color: rgb(85, 18, 91);
/* oklch */ color: oklch(33.2% 0.133 324.4);
Tailwind
colors: {
  custom: {
    50: '#88588a',
    500: '#55125b',
    950: '#000000',
  },
}
SCSS
$custom: #55125b;
$custom-light: #88588a;
$custom-dark: #000000;
JSON
{
  "hex": "#55125b",
  "rgb": {
    "r": 85,
    "g": 18,
    "b": 91
  },
  "hsl": {
    "h": 295.068,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33234,
    "c": 0.13322,
    "h": 324.4
  },
  "luminance": 0.03119
}

Semantic roles & 50–950 ramp

primary
#55125B
secondary
#3D9335
accent
#EA3E4C
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #55125B

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

Preview Lab → · Contrast checker → · Palette generator →

#55125B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva