#552BA4#552BA4

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

Color values

HEX#552BA4
RGBrgb(85, 43, 164)
HSLhsl(261, 58%, 41%)
HSVhsv(261, 74%, 64%)
CMYKcmyk(48.2%, 73.8%, 0%, 35.7%)
CIE-LABlab(30.25, 46.56, -58.22)
CIE-LCHlch(30.25, 74.55, 308.65°)
OKLaboklab(41.95% 0.0699 -0.167)
OKLCHoklch(41.95% 0.181 292.7)
XYZxyz(11.3092, 6.3390, 35.7424)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552BA4 #7AA42B
analogous
#2B3EA4 #552BA4 #912BA4
triadic
#552BA4 #A4552B #2BA455
tetradic
#552BA4 #A42B3E #7AA42B #2BA491
square
#552BA4 #A42B3E #7AA42B #2BA491
split-complementary
#552BA4 #A4912B #3EA42B
monochromatic
#231243 #3C1E74 #552BA4 #703FCD #9570D9

Accessibility & contrast

On white

9.26
#552BA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#552BA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552BA4
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552BA4#FFFFFF#000000##FFFFFF
##552BA41.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A8
Deuteranopia (green-blind)
#0045A2
Tritanopia (blue-blind)
#3C4B65
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #552ba4;
/* rgb */ color: rgb(85, 43, 164);
/* oklch */ color: oklch(41.9% 0.181 292.7);
Tailwind
colors: {
  custom: {
    50: '#8d68c0',
    500: '#552ba4',
    950: '#000000',
  },
}
SCSS
$custom: #552ba4;
$custom-light: #8d68c0;
$custom-dark: #000000;
JSON
{
  "hex": "#552ba4",
  "rgb": {
    "r": 85,
    "g": 43,
    "b": 164
  },
  "hsl": {
    "h": 260.826,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41949,
    "c": 0.181,
    "h": 292.7
  },
  "luminance": 0.06339
}

Semantic roles & 50–950 ramp

primary
#552BA4
secondary
#A3C16A
accent
#E246AC
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #552BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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