#55125C#55125C

#55125C is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.3% C 0.134 H 323.8°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#55125C
RGBrgb(85, 18, 92)
HSLhsl(294, 67%, 22%)
HSVhsv(294, 80%, 36%)
CMYKcmyk(7.6%, 80.4%, 0%, 63.9%)
CIE-LABlab(20.58, 40.22, -28.40)
CIE-LCHlch(20.58, 49.23, 324.77°)
OKLaboklab(33.3% 0.1082 -0.0792)
OKLCHoklch(33.3% 0.134 323.8)
XYZxyz(5.8942, 3.1370, 10.4182)
Luminance0.0314 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55125C #195C12
analogous
#30125C #55125C #5C123E
triadic
#55125C #5C5512 #125C55
tetradic
#55125C #5C3012 #195C12 #123E5C
square
#55125C #5C3012 #195C12 #123E5C
split-complementary
#55125C #3E5C12 #125C30
monochromatic
#18051A #260829 #55125C #841C8F #B426C2

Accessibility & contrast

On white

12.90
#55125C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#55125C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55125C
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55125C#FFFFFF#000000##FFFFFF
##55125C1.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5E
Deuteranopia (green-blind)
#20345A
Tritanopia (blue-blind)
#572036
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #55125c;
/* rgb */ color: rgb(85, 18, 92);
/* oklch */ color: oklch(33.3% 0.134 323.8);
Tailwind
colors: {
  custom: {
    50: '#88588a',
    500: '#55125c',
    950: '#000000',
  },
}
SCSS
$custom: #55125c;
$custom-light: #88588a;
$custom-dark: #000000;
JSON
{
  "hex": "#55125c",
  "rgb": {
    "r": 85,
    "g": 18,
    "b": 92
  },
  "hsl": {
    "h": 294.324,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33303,
    "c": 0.13412,
    "h": 323.8
  },
  "luminance": 0.03137
}

Semantic roles & 50–950 ramp

primary
#55125C
secondary
#3E9435
accent
#EA3E4E
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #55125C

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

Preview Lab → · Contrast checker → · Palette generator →

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