#552398#552398

#552398 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.9% C 0.176 H 297.0°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#552398
RGBrgb(85, 35, 152)
HSLhsl(266, 63%, 37%)
HSVhsv(266, 77%, 60%)
CMYKcmyk(44.1%, 77%, 0%, 40.4%)
CIE-LABlab(27.85, 47.16, -54.85)
CIE-LCHlch(27.85, 72.34, 310.68°)
OKLaboklab(39.93% 0.08 -0.157)
OKLCHoklch(39.93% 0.176 297)
XYZxyz(10.0133, 5.4002, 30.2144)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552398 #669823
analogous
#232C98 #552398 #902398
triadic
#552398 #985523 #239855
tetradic
#552398 #98232C #669823 #239890
square
#552398 #98232C #669823 #239890
split-complementary
#552398 #989023 #2C9823
monochromatic
#1D0C35 #391866 #552398 #712ECA #925CD9

Accessibility & contrast

On white

10.10
#552398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#552398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552398
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552398#FFFFFF#000000##FFFFFF
##5523981.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429B
Deuteranopia (green-blind)
#004096
Tritanopia (blue-blind)
#43425C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #552398;
/* rgb */ color: rgb(85, 35, 152);
/* oklch */ color: oklch(39.9% 0.176 297.0);
Tailwind
colors: {
  custom: {
    50: '#8c64b7',
    500: '#552398',
    950: '#000000',
  },
}
SCSS
$custom: #552398;
$custom-light: #8c64b7;
$custom-dark: #000000;
JSON
{
  "hex": "#552398",
  "rgb": {
    "r": 85,
    "g": 35,
    "b": 152
  },
  "hsl": {
    "h": 265.641,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39927,
    "c": 0.17623,
    "h": 297
  },
  "luminance": 0.054
}

Semantic roles & 50–950 ramp

primary
#552398
secondary
#93BE59
accent
#E642A0
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #552398

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

Preview Lab → · Contrast checker → · Palette generator →

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