#55175F#55175F

#55175F is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.0% C 0.131 H 321.8°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#55175F
RGBrgb(85, 23, 95)
HSLhsl(292, 61%, 23%)
HSVhsv(292, 76%, 37%)
CMYKcmyk(10.5%, 75.8%, 0%, 62.7%)
CIE-LABlab(21.47, 38.87, -28.97)
CIE-LCHlch(21.47, 48.48, 323.30°)
OKLaboklab(34% 0.1027 -0.081)
OKLCHoklch(34% 0.131 321.8)
XYZxyz(6.1180, 3.3706, 11.1526)
Luminance0.0337 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55175F #215F17
analogous
#31175F #55175F #5F1745
triadic
#55175F #5F5517 #175F55
tetradic
#55175F #5F3117 #215F17 #17455F
square
#55175F #5F3117 #215F17 #17455F
split-complementary
#55175F #455F17 #175F31
monochromatic
#160619 #290B2E #55175F #812390 #AD2FC2

Accessibility & contrast

On white

12.54
#55175F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#55175F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55175F
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55175F#FFFFFF#000000##FFFFFF
##55175F1.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F61
Deuteranopia (green-blind)
#20365D
Tritanopia (blue-blind)
#562439
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #55175f;
/* rgb */ color: rgb(85, 23, 95);
/* oklch */ color: oklch(34.0% 0.131 321.8);
Tailwind
colors: {
  custom: {
    50: '#885b8d',
    500: '#55175f',
    950: '#000000',
  },
}
SCSS
$custom: #55175f;
$custom-light: #885b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#55175f",
  "rgb": {
    "r": 85,
    "g": 23,
    "b": 95
  },
  "hsl": {
    "h": 291.667,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.34001,
    "c": 0.13078,
    "h": 321.8
  },
  "luminance": 0.0337
}

Semantic roles & 50–950 ramp

primary
#55175F
secondary
#49963C
accent
#E4445A
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #55175F

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

Preview Lab → · Contrast checker → · Palette generator →

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