#55125E#55125E

#55125E is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.4% C 0.136 H 322.6°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#55125E
RGBrgb(85, 18, 94)
HSLhsl(293, 68%, 22%)
HSVhsv(293, 81%, 37%)
CMYKcmyk(9.6%, 80.9%, 0%, 63.1%)
CIE-LABlab(20.72, 40.61, -29.51)
CIE-LCHlch(20.72, 50.20, 324.00°)
OKLaboklab(33.45% 0.108 -0.0825)
OKLCHoklch(33.45% 0.136 322.6)
XYZxyz(5.9828, 3.1724, 10.8847)
Luminance0.0317 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55125E #1B5E12
analogous
#2F125E #55125E #5E1241
triadic
#55125E #5E5512 #125E55
tetradic
#55125E #5E2F12 #1B5E12 #12415E
square
#55125E #5E2F12 #1B5E12 #12415E
split-complementary
#55125E #415E12 #125E2F
monochromatic
#17051A #27082B #55125E #831C91 #B226C5

Accessibility & contrast

On white

12.85
#55125E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #55125E
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55125E#FFFFFF#000000##FFFFFF
##55125E1.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D60
Deuteranopia (green-blind)
#1E345C
Tritanopia (blue-blind)
#562137
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #55125e;
/* rgb */ color: rgb(85, 18, 94);
/* oklch */ color: oklch(33.4% 0.136 322.6);
Tailwind
colors: {
  custom: {
    50: '#88598c',
    500: '#55125e',
    950: '#000000',
  },
}
SCSS
$custom: #55125e;
$custom-light: #88598c;
$custom-dark: #000000;
JSON
{
  "hex": "#55125e",
  "rgb": {
    "r": 85,
    "g": 18,
    "b": 94
  },
  "hsl": {
    "h": 292.895,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33445,
    "c": 0.13593,
    "h": 322.6
  },
  "luminance": 0.03172
}

Semantic roles & 50–950 ramp

primary
#55125E
secondary
#419635
accent
#EB3D52
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #55125E

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

Preview Lab → · Contrast checker → · Palette generator →

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