#551381#551381

#551381 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.3% C 0.168 H 306.4°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#551381
RGBrgb(85, 19, 129)
HSLhsl(276, 74%, 29%)
HSVhsv(276, 85%, 51%)
CMYKcmyk(34.1%, 85.3%, 0%, 49.4%)
CIE-LABlab(23.61, 47.84, -47.47)
CIE-LCHlch(23.61, 67.39, 315.22°)
OKLaboklab(36.34% 0.0998 -0.1352)
OKLCHoklch(36.34% 0.168 306.4)
XYZxyz(7.9408, 3.9821, 21.1149)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551381 #3F8113
analogous
#1E1381 #551381 #811376
triadic
#551381 #815513 #138155
tetradic
#551381 #811E13 #3F8113 #137681
square
#551381 #811E13 #3F8113 #137681
split-complementary
#551381 #768113 #13811E
monochromatic
#12041B #320B4C #551381 #781BB6 #992EE0

Accessibility & contrast

On white

11.69
#551381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#551381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551381
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551381#FFFFFF#000000##FFFFFF
##5513811.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #551381;
/* rgb */ color: rgb(85, 19, 129);
/* oklch */ color: oklch(36.3% 0.168 306.4);
Tailwind
colors: {
  custom: {
    50: '#8a5ba6',
    500: '#551381',
    950: '#000000',
  },
}
SCSS
$custom: #551381;
$custom-light: #8a5ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#551381",
  "rgb": {
    "r": 85,
    "g": 19,
    "b": 129
  },
  "hsl": {
    "h": 276,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36344,
    "c": 0.16804,
    "h": 306.4
  },
  "luminance": 0.03982
}

Semantic roles & 50–950 ramp

primary
#551381
secondary
#6BB63A
accent
#F13781
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #551381

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

Preview Lab → · Contrast checker → · Palette generator →

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