#552287#552287

#552287 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.3% C 0.159 H 302.4°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#552287
RGBrgb(85, 34, 135)
HSLhsl(270, 60%, 33%)
HSVhsv(270, 75%, 53%)
CMYKcmyk(37%, 74.8%, 0%, 47.1%)
CIE-LABlab(26.23, 43.23, -46.97)
CIE-LCHlch(26.23, 63.84, 312.63°)
OKLaboklab(38.34% 0.085 -0.1339)
OKLCHoklch(38.34% 0.159 302.4)
XYZxyz(8.6905, 4.8246, 23.3904)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552287 #548722
analogous
#222287 #552287 #872286
triadic
#552287 #875522 #228755
tetradic
#552287 #872222 #548722 #228687
square
#552287 #872222 #548722 #228687
split-complementary
#552287 #868722 #228722
monochromatic
#170925 #361656 #552287 #742EB8 #9250D3

Accessibility & contrast

On white

10.69
#552287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#552287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552287
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552287#FFFFFF#000000##FFFFFF
##5522871.0010.691.9710.69
#FFFFFF10.691.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8A
Deuteranopia (green-blind)
#003E85
Tritanopia (blue-blind)
#4B3B52
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #552287;
/* rgb */ color: rgb(85, 34, 135);
/* oklch */ color: oklch(38.3% 0.159 302.4);
Tailwind
colors: {
  custom: {
    50: '#8a62ab',
    500: '#552287',
    950: '#000000',
  },
}
SCSS
$custom: #552287;
$custom-light: #8a62ab;
$custom-dark: #000000;
JSON
{
  "hex": "#552287",
  "rgb": {
    "r": 85,
    "g": 34,
    "b": 135
  },
  "hsl": {
    "h": 270.297,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.38337,
    "c": 0.15858,
    "h": 302.4
  },
  "luminance": 0.04825
}

Semantic roles & 50–950 ramp

primary
#552287
secondary
#82B74E
accent
#E34593
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #552287

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

Preview Lab → · Contrast checker → · Palette generator →

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