#552297#552297

#552297 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.7% C 0.176 H 297.4°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#552297
RGBrgb(85, 34, 151)
HSLhsl(266, 63%, 36%)
HSVhsv(266, 77%, 59%)
CMYKcmyk(43.7%, 77.5%, 0%, 40.8%)
CIE-LABlab(27.60, 47.35, -54.65)
CIE-LCHlch(27.60, 72.31, 310.91°)
OKLaboklab(39.73% 0.0811 -0.1564)
OKLCHoklch(39.73% 0.176 297.4)
XYZxyz(9.9028, 5.3095, 29.7753)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552297 #649722
analogous
#222A97 #552297 #902297
triadic
#552297 #975522 #229755
tetradic
#552297 #97222A #649722 #229790
square
#552297 #97222A #649722 #229790
split-complementary
#552297 #979022 #2A9722
monochromatic
#1D0C33 #391765 #552297 #712DC9 #915ADA

Accessibility & contrast

On white

10.18
#552297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#552297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552297
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552297#FFFFFF#000000##FFFFFF
##5522971.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#004095
Tritanopia (blue-blind)
#44415B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #552297;
/* rgb */ color: rgb(85, 34, 151);
/* oklch */ color: oklch(39.7% 0.176 297.4);
Tailwind
colors: {
  custom: {
    50: '#8c63b7',
    500: '#552297',
    950: '#000000',
  },
}
SCSS
$custom: #552297;
$custom-light: #8c63b7;
$custom-dark: #000000;
JSON
{
  "hex": "#552297",
  "rgb": {
    "r": 85,
    "g": 34,
    "b": 151
  },
  "hsl": {
    "h": 266.154,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39727,
    "c": 0.1762,
    "h": 297.4
  },
  "luminance": 0.0531
}

Semantic roles & 50–950 ramp

primary
#552297
secondary
#91BE57
accent
#E6429E
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #552297

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

Preview Lab → · Contrast checker → · Palette generator →

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