#552EA8#552EA8

#552EA8 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.7% C 0.182 H 291.3°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#552EA8
RGBrgb(85, 46, 168)
HSLhsl(259, 57%, 42%)
HSVhsv(259, 73%, 66%)
CMYKcmyk(49.4%, 72.6%, 0%, 34.1%)
CIE-LABlab(31.14, 46.16, -59.18)
CIE-LCHlch(31.14, 75.05, 307.95°)
OKLaboklab(42.69% 0.0663 -0.1698)
OKLCHoklch(42.69% 0.182 291.3)
XYZxyz(11.7892, 6.7120, 37.7126)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552EA8 #81A82E
analogous
#2E44A8 #552EA8 #922EA8
triadic
#552EA8 #A8552E #2EA855
tetradic
#552EA8 #A82E44 #81A82E #2EA892
square
#552EA8 #A82E44 #81A82E #2EA892
split-complementary
#552EA8 #A8922E #44A82E
monochromatic
#241448 #3D2178 #552EA8 #7147CD #9677DA

Accessibility & contrast

On white

8.97
#552EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#552EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552EA8
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552EA8#FFFFFF#000000##FFFFFF
##552EA81.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAC
Deuteranopia (green-blind)
#0047A6
Tritanopia (blue-blind)
#3A4E68
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #552ea8;
/* rgb */ color: rgb(85, 46, 168);
/* oklch */ color: oklch(42.7% 0.182 291.3);
Tailwind
colors: {
  custom: {
    50: '#8d6ac3',
    500: '#552ea8',
    950: '#000000',
  },
}
SCSS
$custom: #552ea8;
$custom-light: #8d6ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#552ea8",
  "rgb": {
    "r": 85,
    "g": 46,
    "b": 168
  },
  "hsl": {
    "h": 259.18,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42686,
    "c": 0.18226,
    "h": 291.3
  },
  "luminance": 0.06712
}

Semantic roles & 50–950 ramp

primary
#552EA8
secondary
#A8C270
accent
#E048AF
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #552EA8

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

Preview Lab → · Contrast checker → · Palette generator →

#552EA8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva