#552BA5#552BA5

#552BA5 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.0% C 0.182 H 292.5°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#552BA5
RGBrgb(85, 43, 165)
HSLhsl(261, 59%, 41%)
HSVhsv(261, 74%, 65%)
CMYKcmyk(48.5%, 73.9%, 0%, 35.3%)
CIE-LABlab(30.34, 46.84, -58.68)
CIE-LCHlch(30.34, 75.08, 308.60°)
OKLaboklab(42.04% 0.0697 -0.1683)
OKLCHoklch(42.04% 0.182 292.5)
XYZxyz(11.3998, 6.3753, 36.2199)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552BA5 #7BA52B
analogous
#2B3EA5 #552BA5 #922BA5
triadic
#552BA5 #A5552B #2BA555
tetradic
#552BA5 #A52B3E #7BA52B #2BA592
square
#552BA5 #A52B3E #7BA52B #2BA592
split-complementary
#552BA5 #A5922B #3EA52B
monochromatic
#231244 #3C1E74 #552BA5 #7140CD #9571DA

Accessibility & contrast

On white

9.23
#552BA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#552BA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552BA5
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552BA5#FFFFFF#000000##FFFFFF
##552BA51.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #552ba5;
/* rgb */ color: rgb(85, 43, 165);
/* oklch */ color: oklch(42.0% 0.182 292.5);
Tailwind
colors: {
  custom: {
    50: '#8d68c1',
    500: '#552ba5',
    950: '#000000',
  },
}
SCSS
$custom: #552ba5;
$custom-light: #8d68c1;
$custom-dark: #000000;
JSON
{
  "hex": "#552ba5",
  "rgb": {
    "r": 85,
    "g": 43,
    "b": 165
  },
  "hsl": {
    "h": 260.656,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.42038,
    "c": 0.18216,
    "h": 292.5
  },
  "luminance": 0.06376
}

Semantic roles & 50–950 ramp

primary
#552BA5
secondary
#A3C16B
accent
#E246AC
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #552BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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