#552492#552492

#552492 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.5% C 0.168 H 298.6°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#552492
RGBrgb(85, 36, 146)
HSLhsl(267, 60%, 36%)
HSVhsv(267, 75%, 57%)
CMYKcmyk(41.8%, 75.3%, 0%, 42.7%)
CIE-LABlab(27.49, 45.12, -51.75)
CIE-LCHlch(27.49, 68.66, 311.09°)
OKLaboklab(39.51% 0.0806 -0.1479)
OKLCHoklch(39.51% 0.168 298.6)
XYZxyz(9.5642, 5.2682, 27.7015)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552492 #619224
analogous
#242A92 #552492 #8C2492
triadic
#552492 #925524 #249255
tetradic
#552492 #92242A #619224 #24928C
square
#552492 #92242A #619224 #24928C
split-complementary
#552492 #928C24 #2A9224
monochromatic
#1C0C30 #381861 #552492 #7230C3 #915AD6

Accessibility & contrast

On white

10.23
#552492 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#552492 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552492
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552492#FFFFFF#000000##FFFFFF
##5524921.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004195
Deuteranopia (green-blind)
#004090
Tritanopia (blue-blind)
#464059
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #552492;
/* rgb */ color: rgb(85, 36, 146);
/* oklch */ color: oklch(39.5% 0.168 298.6);
Tailwind
colors: {
  custom: {
    50: '#8b64b3',
    500: '#552492',
    950: '#000000',
  },
}
SCSS
$custom: #552492;
$custom-light: #8b64b3;
$custom-dark: #000000;
JSON
{
  "hex": "#552492",
  "rgb": {
    "r": 85,
    "g": 36,
    "b": 146
  },
  "hsl": {
    "h": 266.727,
    "s": 60.44,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39512,
    "c": 0.16847,
    "h": 298.6
  },
  "luminance": 0.05268
}

Semantic roles & 50–950 ramp

primary
#552492
secondary
#8EBB57
accent
#E4449D
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #552492

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

Preview Lab → · Contrast checker → · Palette generator →

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