#552498#552498

#552498 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.0% C 0.175 H 296.9°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#552498
RGBrgb(85, 36, 152)
HSLhsl(265, 62%, 37%)
HSVhsv(265, 76%, 60%)
CMYKcmyk(44.1%, 76.3%, 0%, 40.4%)
CIE-LABlab(28.01, 46.70, -54.59)
CIE-LCHlch(28.01, 71.84, 310.54°)
OKLaboklab(40.04% 0.0791 -0.1563)
OKLCHoklch(40.04% 0.175 296.9)
XYZxyz(10.0432, 5.4598, 30.2244)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552498 #679824
analogous
#242D98 #552498 #8F2498
triadic
#552498 #985524 #249855
tetradic
#552498 #98242D #679824 #24988F
square
#552498 #98242D #679824 #24988F
split-complementary
#552498 #988F24 #2D9824
monochromatic
#1E0D35 #391867 #552498 #7130C9 #925ED9

Accessibility & contrast

On white

10.04
#552498 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#552498 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552498
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552498#FFFFFF#000000##FFFFFF
##5524981.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439B
Deuteranopia (green-blind)
#004196
Tritanopia (blue-blind)
#43435C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #552498;
/* rgb */ color: rgb(85, 36, 152);
/* oklch */ color: oklch(40.0% 0.175 296.9);
Tailwind
colors: {
  custom: {
    50: '#8c64b7',
    500: '#552498',
    950: '#000000',
  },
}
SCSS
$custom: #552498;
$custom-light: #8c64b7;
$custom-dark: #000000;
JSON
{
  "hex": "#552498",
  "rgb": {
    "r": 85,
    "g": 36,
    "b": 152
  },
  "hsl": {
    "h": 265.345,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4004,
    "c": 0.17515,
    "h": 296.9
  },
  "luminance": 0.0546
}

Semantic roles & 50–950 ramp

primary
#552498
secondary
#94BE5A
accent
#E543A0
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #552498

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

Preview Lab → · Contrast checker → · Palette generator →

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