#552157#552157

#552157 is a dark, moderate purple. Relative luminance 0.037; OKLCH L 34.7% C 0.108 H 326.1°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#552157
RGBrgb(85, 33, 87)
HSLhsl(298, 45%, 24%)
HSVhsv(298, 62%, 34%)
CMYKcmyk(2.3%, 62.1%, 0%, 65.9%)
CIE-LABlab(22.68, 32.48, -21.75)
CIE-LCHlch(22.68, 39.09, 326.19°)
OKLaboklab(34.71% 0.0895 -0.06)
OKLCHoklch(34.71% 0.108 326.1)
XYZxyz(6.0103, 3.7075, 9.4140)
Luminance0.0371 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552157 #235721
analogous
#3A2157 #552157 #57213E
triadic
#552157 #575521 #215755
tetradic
#552157 #573A21 #235721 #213E57
square
#552157 #573A21 #235721 #213E57
split-complementary
#552157 #3E5721 #21573A
monochromatic
#160816 #2A102B #552157 #803283 #AC43B0

Accessibility & contrast

On white

12.06
#552157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#552157 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552157
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552157#FFFFFF#000000##FFFFFF
##5521571.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3259
Deuteranopia (green-blind)
#2C3855
Tritanopia (blue-blind)
#572838
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #552157;
/* rgb */ color: rgb(85, 33, 87);
/* oklch */ color: oklch(34.7% 0.108 326.1);
Tailwind
colors: {
  custom: {
    50: '#876086',
    500: '#552157',
    950: '#000000',
  },
}
SCSS
$custom: #552157;
$custom-light: #876086;
$custom-dark: #000000;
JSON
{
  "hex": "#552157",
  "rgb": {
    "r": 85,
    "g": 33,
    "b": 87
  },
  "hsl": {
    "h": 297.778,
    "s": 45,
    "l": 23.529
  },
  "oklch": {
    "l": 0.34714,
    "c": 0.10775,
    "h": 326.1
  },
  "luminance": 0.03707
}

Semantic roles & 50–950 ramp

primary
#552157
secondary
#4B8B49
accent
#D55358
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0B050B
muted
#7C797C

Preview Lab

Preview with #552157

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

Preview Lab → · Contrast checker → · Palette generator →

#552157 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva