#551281#551281

#551281 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.3% C 0.169 H 306.5°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#551281
RGBrgb(85, 18, 129)
HSLhsl(276, 76%, 29%)
HSVhsv(276, 86%, 51%)
CMYKcmyk(34.1%, 86%, 0%, 49.4%)
CIE-LABlab(23.50, 48.16, -47.65)
CIE-LCHlch(23.50, 67.75, 315.31°)
OKLaboklab(36.27% 0.1005 -0.1357)
OKLCHoklch(36.27% 0.169 306.5)
XYZxyz(7.9242, 3.9490, 21.1094)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551281 #3E8112
analogous
#1E1281 #551281 #811276
triadic
#551281 #815512 #128155
tetradic
#551281 #811E12 #3E8112 #127681
square
#551281 #811E12 #3E8112 #127681
split-complementary
#551281 #768112 #12811E
monochromatic
#12041B #320B4B #551281 #7819B7 #9A2CE2

Accessibility & contrast

On white

11.73
#551281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#551281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551281
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551281#FFFFFF#000000##FFFFFF
##5512811.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003684
Deuteranopia (green-blind)
#00387F
Tritanopia (blue-blind)
#4D314C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #551281;
/* rgb */ color: rgb(85, 18, 129);
/* oklch */ color: oklch(36.3% 0.169 306.5);
Tailwind
colors: {
  custom: {
    50: '#8a5ba6',
    500: '#551281',
    950: '#000000',
  },
}
SCSS
$custom: #551281;
$custom-light: #8a5ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#551281",
  "rgb": {
    "r": 85,
    "g": 18,
    "b": 129
  },
  "hsl": {
    "h": 276.216,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.36268,
    "c": 0.16888,
    "h": 306.5
  },
  "luminance": 0.03949
}

Semantic roles & 50–950 ramp

primary
#551281
secondary
#6AB738
accent
#F23680
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #551281

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

Preview Lab → · Contrast checker → · Palette generator →

#551281 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva