#551986#551986

#551986 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.3% C 0.167 H 304.0°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#551986
RGBrgb(85, 25, 134)
HSLhsl(273, 69%, 31%)
HSVhsv(273, 81%, 53%)
CMYKcmyk(36.6%, 81.3%, 0%, 47.5%)
CIE-LABlab(24.79, 46.86, -48.69)
CIE-LCHlch(24.79, 67.58, 313.90°)
OKLaboklab(37.3% 0.0936 -0.1389)
OKLCHoklch(37.3% 0.167 304)
XYZxyz(8.3960, 4.3478, 22.9465)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551986 #4A8619
analogous
#1F1986 #551986 #861980
triadic
#551986 #865519 #198655
tetradic
#551986 #861F19 #4A8619 #198086
square
#551986 #861F19 #4A8619 #198086
split-complementary
#551986 #808619 #19861F
monochromatic
#14061F #340F52 #551986 #7623BA #953EDB

Accessibility & contrast

On white

11.23
#551986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#551986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551986
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551986#FFFFFF#000000##FFFFFF
##5519861.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A89
Deuteranopia (green-blind)
#003B84
Tritanopia (blue-blind)
#4B3650
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #551986;
/* rgb */ color: rgb(85, 25, 134);
/* oklch */ color: oklch(37.3% 0.167 304.0);
Tailwind
colors: {
  custom: {
    50: '#8a5eaa',
    500: '#551986',
    950: '#000000',
  },
}
SCSS
$custom: #551986;
$custom-light: #8a5eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#551986",
  "rgb": {
    "r": 85,
    "g": 25,
    "b": 134
  },
  "hsl": {
    "h": 273.028,
    "s": 68.553,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37299,
    "c": 0.16746,
    "h": 304
  },
  "luminance": 0.04348
}

Semantic roles & 50–950 ramp

primary
#551986
secondary
#77BA41
accent
#EB3C8B
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #551986

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

Preview Lab → · Contrast checker → · Palette generator →

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