#552BA3#552BA3

#552BA3 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.9% C 0.180 H 292.9°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#552BA3
RGBrgb(85, 43, 163)
HSLhsl(261, 58%, 40%)
HSVhsv(261, 74%, 64%)
CMYKcmyk(47.9%, 73.6%, 0%, 36.1%)
CIE-LABlab(30.16, 46.29, -57.76)
CIE-LCHlch(30.16, 74.02, 308.71°)
OKLaboklab(41.86% 0.0701 -0.1656)
OKLCHoklch(41.86% 0.18 292.9)
XYZxyz(11.2192, 6.3030, 35.2687)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552BA3 #79A32B
analogous
#2B3DA3 #552BA3 #912BA3
triadic
#552BA3 #A3552B #2BA355
tetradic
#552BA3 #A32B3D #79A32B #2BA391
square
#552BA3 #A32B3D #79A32B #2BA391
split-complementary
#552BA3 #A3912B #3DA32B
monochromatic
#221142 #3C1E73 #552BA3 #703FCC #946FD9

Accessibility & contrast

On white

9.29
#552BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#552BA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552BA3
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552BA3#FFFFFF#000000##FFFFFF
##552BA31.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A6
Deuteranopia (green-blind)
#0045A1
Tritanopia (blue-blind)
#3D4B64
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #552ba3;
/* rgb */ color: rgb(85, 43, 163);
/* oklch */ color: oklch(41.9% 0.180 292.9);
Tailwind
colors: {
  custom: {
    50: '#8c68bf',
    500: '#552ba3',
    950: '#000000',
  },
}
SCSS
$custom: #552ba3;
$custom-light: #8c68bf;
$custom-dark: #000000;
JSON
{
  "hex": "#552ba3",
  "rgb": {
    "r": 85,
    "g": 43,
    "b": 163
  },
  "hsl": {
    "h": 261,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4186,
    "c": 0.17984,
    "h": 292.9
  },
  "luminance": 0.06303
}

Semantic roles & 50–950 ramp

primary
#552BA3
secondary
#A2C06A
accent
#E146AB
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #552BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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