#552292#552292

#552292 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.3% C 0.171 H 298.9°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#552292
RGBrgb(85, 34, 146)
HSLhsl(267, 62%, 35%)
HSVhsv(267, 77%, 57%)
CMYKcmyk(41.8%, 76.7%, 0%, 42.7%)
CIE-LABlab(27.16, 46.05, -52.29)
CIE-LCHlch(27.16, 69.68, 311.37°)
OKLaboklab(39.28% 0.0825 -0.1495)
OKLCHoklch(39.28% 0.171 298.9)
XYZxyz(9.5053, 5.1505, 27.6819)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552292 #5F9222
analogous
#222792 #552292 #8D2292
triadic
#552292 #925522 #229255
tetradic
#552292 #922227 #5F9222 #22928D
square
#552292 #922227 #5F9222 #22928D
split-complementary
#552292 #928D22 #279222
monochromatic
#1B0B2F #381660 #552292 #722EC4 #9157D8

Accessibility & contrast

On white

10.34
#552292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#552292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552292
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552292#FFFFFF#000000##FFFFFF
##5522921.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004095
Deuteranopia (green-blind)
#003F90
Tritanopia (blue-blind)
#463F59
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #552292;
/* rgb */ color: rgb(85, 34, 146);
/* oklch */ color: oklch(39.3% 0.171 298.9);
Tailwind
colors: {
  custom: {
    50: '#8b63b3',
    500: '#552292',
    950: '#000000',
  },
}
SCSS
$custom: #552292;
$custom-light: #8b63b3;
$custom-dark: #000000;
JSON
{
  "hex": "#552292",
  "rgb": {
    "r": 85,
    "g": 34,
    "b": 146
  },
  "hsl": {
    "h": 267.321,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39283,
    "c": 0.17072,
    "h": 298.9
  },
  "luminance": 0.05151
}

Semantic roles & 50–950 ramp

primary
#552292
secondary
#8DBC54
accent
#E5439B
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0511
muted
#7D7A80

Preview Lab

Preview with #552292

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

Preview Lab → · Contrast checker → · Palette generator →

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