#552EA1#552EA1

#552EA1 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.1% C 0.174 H 292.9°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#552EA1
RGBrgb(85, 46, 161)
HSLhsl(260, 56%, 41%)
HSVhsv(260, 71%, 63%)
CMYKcmyk(47.2%, 71.4%, 0%, 36.9%)
CIE-LABlab(30.54, 44.19, -55.94)
CIE-LCHlch(30.54, 71.29, 308.31°)
OKLaboklab(42.07% 0.0677 -0.1603)
OKLCHoklch(42.07% 0.174 292.9)
XYZxyz(11.1545, 6.4581, 34.3701)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552EA1 #7AA12E
analogous
#2E40A1 #552EA1 #8E2EA1
triadic
#552EA1 #A1552E #2EA155
tetradic
#552EA1 #A12E40 #7AA12E #2EA18E
square
#552EA1 #A12E40 #7AA12E #2EA18E
split-complementary
#552EA1 #A18E2E #40A12E
monochromatic
#231342 #3C2071 #552EA1 #7043C9 #9573D7

Accessibility & contrast

On white

9.16
#552EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#552EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552EA1
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552EA1#FFFFFF#000000##FFFFFF
##552EA11.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A4
Deuteranopia (green-blind)
#00469F
Tritanopia (blue-blind)
#3E4B64
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #552ea1;
/* rgb */ color: rgb(85, 46, 161);
/* oklch */ color: oklch(42.1% 0.174 292.9);
Tailwind
colors: {
  custom: {
    50: '#8c6abe',
    500: '#552ea1',
    950: '#000000',
  },
}
SCSS
$custom: #552ea1;
$custom-light: #8c6abe;
$custom-dark: #000000;
JSON
{
  "hex": "#552ea1",
  "rgb": {
    "r": 85,
    "g": 46,
    "b": 161
  },
  "hsl": {
    "h": 260.348,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.42073,
    "c": 0.17399,
    "h": 292.9
  },
  "luminance": 0.06458
}

Semantic roles & 50–950 ramp

primary
#552EA1
secondary
#A3BE6C
accent
#DF49AC
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #552EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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