#552A95#552A95

#552A95 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.5% C 0.165 H 296.7°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#552A95
RGBrgb(85, 42, 149)
HSLhsl(264, 56%, 37%)
HSVhsv(264, 72%, 58%)
CMYKcmyk(43%, 71.8%, 0%, 41.6%)
CIE-LABlab(28.79, 42.96, -51.47)
CIE-LCHlch(28.79, 67.05, 309.85°)
OKLaboklab(40.52% 0.074 -0.1471)
OKLCHoklch(40.52% 0.165 296.7)
XYZxyz(9.9977, 5.7569, 29.0124)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552A95 #6A952A
analogous
#2A3595 #552A95 #8A2A95
triadic
#552A95 #95552A #2A9555
tetradic
#552A95 #952A35 #6A952A #2A958A
square
#552A95 #952A35 #6A952A #2A958A
split-complementary
#552A95 #958A2A #35952A
monochromatic
#1F0F36 #3A1D65 #552A95 #7037C5 #9266D4

Accessibility & contrast

On white

9.76
#552A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#552A95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552A95
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552A95#FFFFFF#000000##FFFFFF
##552A951.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004498
Deuteranopia (green-blind)
#004293
Tritanopia (blue-blind)
#44455C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #552a95;
/* rgb */ color: rgb(85, 42, 149);
/* oklch */ color: oklch(40.5% 0.165 296.7);
Tailwind
colors: {
  custom: {
    50: '#8b67b5',
    500: '#552a95',
    950: '#000000',
  },
}
SCSS
$custom: #552a95;
$custom-light: #8b67b5;
$custom-dark: #000000;
JSON
{
  "hex": "#552a95",
  "rgb": {
    "r": 85,
    "g": 42,
    "b": 149
  },
  "hsl": {
    "h": 264.112,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40516,
    "c": 0.16472,
    "h": 296.7
  },
  "luminance": 0.05757
}

Semantic roles & 50–950 ramp

primary
#552A95
secondary
#96BA61
accent
#DF48A3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #552A95

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

Preview Lab → · Contrast checker → · Palette generator →

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