#552494#552494

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

Color values

HEX#552494
RGBrgb(85, 36, 148)
HSLhsl(266, 61%, 36%)
HSVhsv(266, 76%, 58%)
CMYKcmyk(42.6%, 75.7%, 0%, 42%)
CIE-LABlab(27.66, 45.65, -52.71)
CIE-LCHlch(27.66, 69.73, 310.90°)
OKLaboklab(39.69% 0.0801 -0.1507)
OKLCHoklch(39.69% 0.171 298)
XYZxyz(9.7211, 5.3310, 28.5281)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552494 #639424
analogous
#242B94 #552494 #8D2494
triadic
#552494 #945524 #249455
tetradic
#552494 #94242B #639424 #24948D
square
#552494 #94242B #639424 #24948D
split-complementary
#552494 #948D24 #2B9424
monochromatic
#1C0C32 #391863 #552494 #7130C5 #915BD7

Accessibility & contrast

On white

10.16
#552494 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#552494 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##552494#FFFFFF#000000##FFFFFF
##5524941.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)
#004197
Deuteranopia (green-blind)
#004092
Tritanopia (blue-blind)
#45415A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #552494;
/* rgb */ color: rgb(85, 36, 148);
/* oklch */ color: oklch(39.7% 0.171 298.0);
Tailwind
colors: {
  custom: {
    50: '#8b64b4',
    500: '#552494',
    950: '#000000',
  },
}
SCSS
$custom: #552494;
$custom-light: #8b64b4;
$custom-dark: #000000;
JSON
{
  "hex": "#552494",
  "rgb": {
    "r": 85,
    "g": 36,
    "b": 148
  },
  "hsl": {
    "h": 266.25,
    "s": 60.87,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39687,
    "c": 0.1707,
    "h": 298
  },
  "luminance": 0.05331
}

Semantic roles & 50–950 ramp

primary
#552494
secondary
#90BC58
accent
#E4449E
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0611
muted
#7D7A80

Preview Lab

Preview with #552494

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

Preview Lab → · Contrast checker → · Palette generator →

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