#552698#552698

#552698 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.3% C 0.173 H 296.5°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#552698
RGBrgb(85, 38, 152)
HSLhsl(265, 60%, 37%)
HSVhsv(265, 75%, 60%)
CMYKcmyk(44.1%, 75%, 0%, 40.4%)
CIE-LABlab(28.34, 45.75, -54.05)
CIE-LCHlch(28.34, 70.82, 310.25°)
OKLaboklab(40.27% 0.0773 -0.1547)
OKLCHoklch(40.27% 0.173 296.5)
XYZxyz(10.1054, 5.5843, 30.2451)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552698 #699826
analogous
#263098 #552698 #8E2698
triadic
#552698 #985526 #269855
tetradic
#552698 #982630 #699826 #26988E
square
#552698 #982630 #699826 #26988E
split-complementary
#552698 #988E26 #309826
monochromatic
#1E0E36 #3A1A67 #552698 #7032C9 #9261D7

Accessibility & contrast

On white

9.92
#552698 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#552698 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552698
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552698#FFFFFF#000000##FFFFFF
##5526981.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439B
Deuteranopia (green-blind)
#004196
Tritanopia (blue-blind)
#43445D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #552698;
/* rgb */ color: rgb(85, 38, 152);
/* oklch */ color: oklch(40.3% 0.173 296.5);
Tailwind
colors: {
  custom: {
    50: '#8b65b7',
    500: '#552698',
    950: '#000000',
  },
}
SCSS
$custom: #552698;
$custom-light: #8b65b7;
$custom-dark: #000000;
JSON
{
  "hex": "#552698",
  "rgb": {
    "r": 85,
    "g": 38,
    "b": 152
  },
  "hsl": {
    "h": 264.737,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40274,
    "c": 0.17292,
    "h": 296.5
  },
  "luminance": 0.05585
}

Semantic roles & 50–950 ramp

primary
#552698
secondary
#95BD5D
accent
#E345A2
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #552698

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

Preview Lab → · Contrast checker → · Palette generator →

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