#551780#551780

#551780 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.6% C 0.163 H 306.4°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#551780
RGBrgb(85, 23, 128)
HSLhsl(275, 70%, 30%)
HSVhsv(275, 82%, 50%)
CMYKcmyk(33.6%, 82%, 0%, 49.8%)
CIE-LABlab(24.01, 46.20, -46.19)
CIE-LCHlch(24.01, 65.33, 315.01°)
OKLaboklab(36.59% 0.097 -0.1315)
OKLCHoklch(36.59% 0.163 306.4)
XYZxyz(7.9481, 4.1027, 20.7911)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551780 #428017
analogous
#211780 #551780 #801776
triadic
#551780 #805517 #178055
tetradic
#551780 #802117 #428017 #177680
square
#551780 #802117 #428017 #177680
split-complementary
#551780 #768017 #178021
monochromatic
#11051A #330E4C #551780 #7720B4 #9836DB

Accessibility & contrast

On white

11.53
#551780 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#551780 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551780
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551780#FFFFFF#000000##FFFFFF
##5517801.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003783
Deuteranopia (green-blind)
#00397E
Tritanopia (blue-blind)
#4D334C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #551780;
/* rgb */ color: rgb(85, 23, 128);
/* oklch */ color: oklch(36.6% 0.163 306.4);
Tailwind
colors: {
  custom: {
    50: '#8a5da6',
    500: '#551780',
    950: '#000000',
  },
}
SCSS
$custom: #551780;
$custom-light: #8a5da6;
$custom-dark: #000000;
JSON
{
  "hex": "#551780",
  "rgb": {
    "r": 85,
    "g": 23,
    "b": 128
  },
  "hsl": {
    "h": 275.429,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.36593,
    "c": 0.16337,
    "h": 306.4
  },
  "luminance": 0.04103
}

Semantic roles & 50–950 ramp

primary
#551780
secondary
#6FB43E
accent
#EC3B84
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #551780

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

Preview Lab → · Contrast checker → · Palette generator →

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