#551981#551981

#551981 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.9% C 0.162 H 305.8°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#551981
RGBrgb(85, 25, 129)
HSLhsl(275, 68%, 30%)
HSVhsv(275, 81%, 51%)
CMYKcmyk(34.1%, 80.6%, 0%, 49.4%)
CIE-LABlab(24.36, 45.67, -46.25)
CIE-LCHlch(24.36, 65.00, 314.64°)
OKLaboklab(36.86% 0.095 -0.1317)
OKLCHoklch(36.86% 0.162 305.8)
XYZxyz(8.0555, 4.2116, 21.1532)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551981 #458119
analogous
#211981 #551981 #811979
triadic
#551981 #815519 #198155
tetradic
#551981 #812119 #458119 #197981
square
#551981 #812119 #458119 #197981
split-complementary
#551981 #798119 #198121
monochromatic
#11051A #330F4E #551981 #7723B4 #963BD9

Accessibility & contrast

On white

11.40
#551981 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#551981 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551981
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551981#FFFFFF#000000##FFFFFF
##5519811.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003884
Deuteranopia (green-blind)
#003A7F
Tritanopia (blue-blind)
#4D344D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #551981;
/* rgb */ color: rgb(85, 25, 129);
/* oklch */ color: oklch(36.9% 0.162 305.8);
Tailwind
colors: {
  custom: {
    50: '#8a5da6',
    500: '#551981',
    950: '#000000',
  },
}
SCSS
$custom: #551981;
$custom-light: #8a5da6;
$custom-dark: #000000;
JSON
{
  "hex": "#551981",
  "rgb": {
    "r": 85,
    "g": 25,
    "b": 129
  },
  "hsl": {
    "h": 274.615,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.36865,
    "c": 0.16235,
    "h": 305.8
  },
  "luminance": 0.04212
}

Semantic roles & 50–950 ramp

primary
#551981
secondary
#72B541
accent
#EA3D87
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #551981

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

Preview Lab → · Contrast checker → · Palette generator →

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