#552A7E#552A7E

#552A7E is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.7% C 0.137 H 304.2°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#552A7E
RGBrgb(85, 42, 126)
HSLhsl(271, 50%, 33%)
HSVhsv(271, 67%, 49%)
CMYKcmyk(32.5%, 66.7%, 0%, 50.6%)
CIE-LABlab(27.00, 36.83, -40.08)
CIE-LCHlch(27.00, 54.43, 312.59°)
OKLaboklab(38.67% 0.0773 -0.1136)
OKLCHoklch(38.67% 0.137 304.2)
XYZxyz(8.3393, 5.0936, 20.2784)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552A7E #537E2A
analogous
#2B2A7E #552A7E #7E2A7D
triadic
#552A7E #7E552A #2A7E55
tetradic
#552A7E #7E2B2A #537E2A #2A7D7E
square
#552A7E #7E2B2A #537E2A #2A7D7E
split-complementary
#552A7E #7D7E2A #2A7E2B
monochromatic
#170B22 #361B50 #552A7E #7439AC #935AC8

Accessibility & contrast

On white

10.40
#552A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#552A7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552A7E
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552A7E#FFFFFF#000000##FFFFFF
##552A7E1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F81
Deuteranopia (green-blind)
#11407C
Tritanopia (blue-blind)
#4D3C50
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #552a7e;
/* rgb */ color: rgb(85, 42, 126);
/* oklch */ color: oklch(38.7% 0.137 304.2);
Tailwind
colors: {
  custom: {
    50: '#8866a4',
    500: '#552a7e',
    950: '#000000',
  },
}
SCSS
$custom: #552a7e;
$custom-light: #8866a4;
$custom-dark: #000000;
JSON
{
  "hex": "#552a7e",
  "rgb": {
    "r": 85,
    "g": 42,
    "b": 126
  },
  "hsl": {
    "h": 270.714,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38669,
    "c": 0.13742,
    "h": 304.2
  },
  "luminance": 0.05094
}

Semantic roles & 50–950 ramp

primary
#552A7E
secondary
#81AE56
accent
#DA4E92
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #552A7E

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

Preview Lab → · Contrast checker → · Palette generator →

#552A7E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva