#551F82#551F82

#551F82 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.157 H 304.6°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#551F82
RGBrgb(85, 31, 130)
HSLhsl(273, 61%, 32%)
HSVhsv(273, 76%, 51%)
CMYKcmyk(34.6%, 76.2%, 0%, 49%)
CIE-LABlab(25.33, 43.37, -45.30)
CIE-LCHlch(25.33, 62.71, 313.75°)
OKLaboklab(37.57% 0.0891 -0.1289)
OKLCHoklch(37.57% 0.157 304.6)
XYZxyz(8.2646, 4.5230, 21.5524)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551F82 #4C821F
analogous
#231F82 #551F82 #821F7E
triadic
#551F82 #82551F #1F8255
tetradic
#551F82 #82231F #4C821F #1F7E82
square
#551F82 #82231F #4C821F #1F7E82
split-complementary
#551F82 #7E821F #1F8223
monochromatic
#14071F #351351 #551F82 #752BB3 #9448D3

Accessibility & contrast

On white

11.03
#551F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#551F82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551F82
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551F82#FFFFFF#000000##FFFFFF
##551F821.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B85
Deuteranopia (green-blind)
#003C80
Tritanopia (blue-blind)
#4C374F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #551f82;
/* rgb */ color: rgb(85, 31, 130);
/* oklch */ color: oklch(37.6% 0.157 304.6);
Tailwind
colors: {
  custom: {
    50: '#8960a7',
    500: '#551f82',
    950: '#000000',
  },
}
SCSS
$custom: #551f82;
$custom-light: #8960a7;
$custom-dark: #000000;
JSON
{
  "hex": "#551f82",
  "rgb": {
    "r": 85,
    "g": 31,
    "b": 130
  },
  "hsl": {
    "h": 272.727,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37574,
    "c": 0.15672,
    "h": 304.6
  },
  "luminance": 0.04523
}

Semantic roles & 50–950 ramp

primary
#551F82
secondary
#79B548
accent
#E5438D
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #551F82

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

Preview Lab → · Contrast checker → · Palette generator →

#551F82 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva