#55185E#55185E

#55185E is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.0% C 0.128 H 322.3°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#55185E
RGBrgb(85, 24, 94)
HSLhsl(292, 59%, 23%)
HSVhsv(292, 74%, 37%)
CMYKcmyk(9.6%, 74.5%, 0%, 63.1%)
CIE-LABlab(21.55, 38.24, -28.18)
CIE-LCHlch(21.55, 47.50, 323.61°)
OKLaboklab(34.04% 0.1016 -0.0786)
OKLCHoklch(34.04% 0.128 322.3)
XYZxyz(6.0931, 3.3931, 10.9215)
Luminance0.0339 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55185E #215E18
analogous
#32185E #55185E #5E1844
triadic
#55185E #5E5518 #185E55
tetradic
#55185E #5E3218 #215E18 #18445E
square
#55185E #5E3218 #215E18 #18445E
split-complementary
#55185E #445E18 #185E32
monochromatic
#160618 #290C2D #55185E #81248F #AD31C0

Accessibility & contrast

On white

12.51
#55185E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#55185E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55185E
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55185E#FFFFFF#000000##FFFFFF
##55185E1.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022F60
Deuteranopia (green-blind)
#22365C
Tritanopia (blue-blind)
#562439
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #55185e;
/* rgb */ color: rgb(85, 24, 94);
/* oklch */ color: oklch(34.0% 0.128 322.3);
Tailwind
colors: {
  custom: {
    50: '#885b8c',
    500: '#55185e',
    950: '#000000',
  },
}
SCSS
$custom: #55185e;
$custom-light: #885b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#55185e",
  "rgb": {
    "r": 85,
    "g": 24,
    "b": 94
  },
  "hsl": {
    "h": 292.286,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.34039,
    "c": 0.12849,
    "h": 322.3
  },
  "luminance": 0.03393
}

Semantic roles & 50–950 ramp

primary
#55185E
secondary
#49943D
accent
#E3455A
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #55185E

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

Preview Lab → · Contrast checker → · Palette generator →

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