#552A87#552A87

#552A87 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.4% C 0.148 H 301.0°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#552A87
RGBrgb(85, 42, 135)
HSLhsl(268, 53%, 35%)
HSVhsv(268, 69%, 53%)
CMYKcmyk(37%, 68.9%, 0%, 47.1%)
CIE-LABlab(27.67, 39.20, -44.63)
CIE-LCHlch(27.67, 59.40, 311.29°)
OKLaboklab(39.37% 0.0763 -0.127)
OKLCHoklch(39.37% 0.148 301)
XYZxyz(8.9464, 5.3364, 23.4757)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552A87 #5C872A
analogous
#2A2E87 #552A87 #842A87
triadic
#552A87 #87552A #2A8755
tetradic
#552A87 #872A2E #5C872A #2A8784
square
#552A87 #872A2E #5C872A #2A8784
split-complementary
#552A87 #87842A #2E872A
monochromatic
#1A0D2A #381B58 #552A87 #7239B6 #925ECD

Accessibility & contrast

On white

10.16
#552A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#552A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552A87
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552A87#FFFFFF#000000##FFFFFF
##552A871.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418A
Deuteranopia (green-blind)
#004185
Tritanopia (blue-blind)
#4A3F55
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #552a87;
/* rgb */ color: rgb(85, 42, 135);
/* oklch */ color: oklch(39.4% 0.148 301.0);
Tailwind
colors: {
  custom: {
    50: '#8967ab',
    500: '#552a87',
    950: '#000000',
  },
}
SCSS
$custom: #552a87;
$custom-light: #8967ab;
$custom-dark: #000000;
JSON
{
  "hex": "#552a87",
  "rgb": {
    "r": 85,
    "g": 42,
    "b": 135
  },
  "hsl": {
    "h": 267.742,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39366,
    "c": 0.14817,
    "h": 301
  },
  "luminance": 0.05336
}

Semantic roles & 50–950 ramp

primary
#552A87
secondary
#8AB35A
accent
#DC4C99
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #552A87

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

Preview Lab → · Contrast checker → · Palette generator →

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