#55125F#55125F

#55125F is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.5% C 0.137 H 322.1°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#55125F
RGBrgb(85, 18, 95)
HSLhsl(292, 68%, 22%)
HSVhsv(292, 81%, 37%)
CMYKcmyk(10.5%, 81.1%, 0%, 62.7%)
CIE-LABlab(20.79, 40.81, -30.06)
CIE-LCHlch(20.79, 50.69, 323.63°)
OKLaboklab(33.52% 0.108 -0.0841)
OKLCHoklch(33.52% 0.137 322.1)
XYZxyz(6.0280, 3.1905, 11.1226)
Luminance0.0319 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55125F #1C5F12
analogous
#2F125F #55125F #5F1243
triadic
#55125F #5F5512 #125F55
tetradic
#55125F #5F2F12 #1C5F12 #12435F
square
#55125F #5F2F12 #1C5F12 #12435F
split-complementary
#55125F #435F12 #125F2F
monochromatic
#17051A #27082C #55125F #831C92 #B125C6

Accessibility & contrast

On white

12.82
#55125F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#55125F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55125F
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55125F#FFFFFF#000000##FFFFFF
##55125F1.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D61
Deuteranopia (green-blind)
#1D345D
Tritanopia (blue-blind)
#562138
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #55125f;
/* rgb */ color: rgb(85, 18, 95);
/* oklch */ color: oklch(33.5% 0.137 322.1);
Tailwind
colors: {
  custom: {
    50: '#88598d',
    500: '#55125f',
    950: '#000000',
  },
}
SCSS
$custom: #55125f;
$custom-light: #88598d;
$custom-dark: #000000;
JSON
{
  "hex": "#55125f",
  "rgb": {
    "r": 85,
    "g": 18,
    "b": 95
  },
  "hsl": {
    "h": 292.208,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.33517,
    "c": 0.13684,
    "h": 322.1
  },
  "luminance": 0.0319
}

Semantic roles & 50–950 ramp

primary
#55125F
secondary
#429736
accent
#EB3D53
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #55125F

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

Preview Lab → · Contrast checker → · Palette generator →

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