#552A9F#552A9F

#552A9F is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.4% C 0.176 H 294.1°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#552A9F
RGBrgb(85, 42, 159)
HSLhsl(262, 58%, 39%)
HSVhsv(262, 74%, 62%)
CMYKcmyk(46.5%, 73.6%, 0%, 37.6%)
CIE-LABlab(29.64, 45.69, -56.19)
CIE-LCHlch(29.64, 72.42, 309.11°)
OKLaboklab(41.38% 0.0719 -0.161)
OKLCHoklch(41.38% 0.176 294.1)
XYZxyz(10.8306, 6.0901, 33.3990)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552A9F #749F2A
analogous
#2A3A9F #552A9F #902A9F
triadic
#552A9F #9F552A #2A9F55
tetradic
#552A9F #9F2A3A #749F2A #2A9F90
square
#552A9F #9F2A3A #749F2A #2A9F90
split-complementary
#552A9F #9F902A #3A9F2A
monochromatic
#21103E #3B1D6F #552A9F #703BCB #936BD8

Accessibility & contrast

On white

9.47
#552A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#552A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552A9F
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552A9F#FFFFFF#000000##FFFFFF
##552A9F1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#00449D
Tritanopia (blue-blind)
#3F4862
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #552a9f;
/* rgb */ color: rgb(85, 42, 159);
/* oklch */ color: oklch(41.4% 0.176 294.1);
Tailwind
colors: {
  custom: {
    50: '#8c68bc',
    500: '#552a9f',
    950: '#000000',
  },
}
SCSS
$custom: #552a9f;
$custom-light: #8c68bc;
$custom-dark: #000000;
JSON
{
  "hex": "#552a9f",
  "rgb": {
    "r": 85,
    "g": 42,
    "b": 159
  },
  "hsl": {
    "h": 262.051,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4138,
    "c": 0.17635,
    "h": 294.1
  },
  "luminance": 0.0609
}

Semantic roles & 50–950 ramp

primary
#552A9F
secondary
#9EBF66
accent
#E146A8
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #552A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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