#552EA2#552EA2

#552EA2 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.2% C 0.175 H 292.7°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#552EA2
RGBrgb(85, 46, 162)
HSLhsl(260, 56%, 41%)
HSVhsv(260, 72%, 64%)
CMYKcmyk(47.5%, 71.6%, 0%, 36.5%)
CIE-LABlab(30.62, 44.47, -56.40)
CIE-LCHlch(30.62, 71.83, 308.26°)
OKLaboklab(42.16% 0.0675 -0.1616)
OKLCHoklch(42.16% 0.175 292.7)
XYZxyz(11.2431, 6.4935, 34.8364)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552EA2 #7BA22E
analogous
#2E41A2 #552EA2 #8F2EA2
triadic
#552EA2 #A2552E #2EA255
tetradic
#552EA2 #A22E41 #7BA22E #2EA28F
square
#552EA2 #A22E41 #7BA22E #2EA28F
split-complementary
#552EA2 #A28F2E #41A22E
monochromatic
#231343 #3C2072 #552EA2 #7143CA #9573D7

Accessibility & contrast

On white

9.14
#552EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#552EA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552EA2
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552EA2#FFFFFF#000000##FFFFFF
##552EA21.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA5
Deuteranopia (green-blind)
#0046A0
Tritanopia (blue-blind)
#3D4C65
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #552ea2;
/* rgb */ color: rgb(85, 46, 162);
/* oklch */ color: oklch(42.2% 0.175 292.7);
Tailwind
colors: {
  custom: {
    50: '#8c6abe',
    500: '#552ea2',
    950: '#000000',
  },
}
SCSS
$custom: #552ea2;
$custom-light: #8c6abe;
$custom-dark: #000000;
JSON
{
  "hex": "#552ea2",
  "rgb": {
    "r": 85,
    "g": 46,
    "b": 162
  },
  "hsl": {
    "h": 260.172,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.42159,
    "c": 0.17518,
    "h": 292.7
  },
  "luminance": 0.06494
}

Semantic roles & 50–950 ramp

primary
#552EA2
secondary
#A3BF6D
accent
#DF49AD
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #552EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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