#552181#552181

#552181 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.7% C 0.153 H 304.7°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#552181
RGBrgb(85, 33, 129)
HSLhsl(273, 59%, 32%)
HSVhsv(273, 74%, 51%)
CMYKcmyk(34.1%, 74.4%, 0%, 49.4%)
CIE-LABlab(25.58, 42.19, -44.27)
CIE-LCHlch(25.58, 61.16, 313.62°)
OKLaboklab(37.72% 0.0872 -0.1259)
OKLCHoklch(37.72% 0.153 304.7)
XYZxyz(8.2517, 4.6040, 21.2186)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552181 #4D8121
analogous
#252181 #552181 #81217D
triadic
#552181 #815521 #218155
tetradic
#552181 #812521 #4D8121 #217D81
square
#552181 #812521 #4D8121 #217D81
split-complementary
#552181 #7D8121 #218125
monochromatic
#150820 #351550 #552181 #752DB2 #944BD1

Accessibility & contrast

On white

10.93
#552181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#552181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552181
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552181#FFFFFF#000000##FFFFFF
##5521811.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B84
Deuteranopia (green-blind)
#003D7F
Tritanopia (blue-blind)
#4D384F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #552181;
/* rgb */ color: rgb(85, 33, 129);
/* oklch */ color: oklch(37.7% 0.153 304.7);
Tailwind
colors: {
  custom: {
    50: '#8961a6',
    500: '#552181',
    950: '#000000',
  },
}
SCSS
$custom: #552181;
$custom-light: #8961a6;
$custom-dark: #000000;
JSON
{
  "hex": "#552181",
  "rgb": {
    "r": 85,
    "g": 33,
    "b": 129
  },
  "hsl": {
    "h": 272.5,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37722,
    "c": 0.15319,
    "h": 304.7
  },
  "luminance": 0.04604
}

Semantic roles & 50–950 ramp

primary
#552181
secondary
#7BB44A
accent
#E2458D
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #552181

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

Preview Lab → · Contrast checker → · Palette generator →

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