#552497#552497

#552497 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.0% C 0.174 H 297.1°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#552497
RGBrgb(85, 36, 151)
HSLhsl(266, 61%, 37%)
HSVhsv(266, 76%, 59%)
CMYKcmyk(43.7%, 76.2%, 0%, 40.8%)
CIE-LABlab(27.92, 46.44, -54.12)
CIE-LCHlch(27.92, 71.31, 310.63°)
OKLaboklab(39.95% 0.0794 -0.1549)
OKLCHoklch(39.95% 0.174 297.1)
XYZxyz(9.9616, 5.4272, 29.7949)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552497 #669724
analogous
#242D97 #552497 #8F2497
triadic
#552497 #975524 #249755
tetradic
#552497 #97242D #669724 #24978F
square
#552497 #97242D #669724 #24978F
split-complementary
#552497 #978F24 #2D9724
monochromatic
#1D0C34 #391866 #552497 #7130C8 #925DD8

Accessibility & contrast

On white

10.07
#552497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #552497
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552497#FFFFFF#000000##FFFFFF
##5524971.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#004095
Tritanopia (blue-blind)
#44425C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #552497;
/* rgb */ color: rgb(85, 36, 151);
/* oklch */ color: oklch(40.0% 0.174 297.1);
Tailwind
colors: {
  custom: {
    50: '#8b64b7',
    500: '#552497',
    950: '#000000',
  },
}
SCSS
$custom: #552497;
$custom-light: #8b64b7;
$custom-dark: #000000;
JSON
{
  "hex": "#552497",
  "rgb": {
    "r": 85,
    "g": 36,
    "b": 151
  },
  "hsl": {
    "h": 265.565,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39952,
    "c": 0.17404,
    "h": 297.1
  },
  "luminance": 0.05427
}

Semantic roles & 50–950 ramp

primary
#552497
secondary
#93BD5A
accent
#E543A0
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #552497

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

Preview Lab → · Contrast checker → · Palette generator →

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