#551886#551886

#551886 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.2% C 0.168 H 304.1°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#551886
RGBrgb(85, 24, 134)
HSLhsl(273, 70%, 31%)
HSVhsv(273, 82%, 53%)
CMYKcmyk(36.6%, 82.1%, 0%, 47.5%)
CIE-LABlab(24.66, 47.25, -48.91)
CIE-LCHlch(24.66, 68.00, 314.01°)
OKLaboklab(37.21% 0.0944 -0.1395)
OKLCHoklch(37.21% 0.168 304.1)
XYZxyz(8.3750, 4.3058, 22.9395)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551886 #498618
analogous
#1E1886 #551886 #861880
triadic
#551886 #865518 #188655
tetradic
#551886 #861E18 #498618 #188086
square
#551886 #861E18 #498618 #188086
split-complementary
#551886 #808618 #18861E
monochromatic
#13051E #340F52 #551886 #7621BA #953CDC

Accessibility & contrast

On white

11.28
#551886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#551886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551886
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551886#FFFFFF#000000##FFFFFF
##5518861.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003989
Deuteranopia (green-blind)
#003A84
Tritanopia (blue-blind)
#4B364F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #551886;
/* rgb */ color: rgb(85, 24, 134);
/* oklch */ color: oklch(37.2% 0.168 304.1);
Tailwind
colors: {
  custom: {
    50: '#8a5daa',
    500: '#551886',
    950: '#000000',
  },
}
SCSS
$custom: #551886;
$custom-light: #8a5daa;
$custom-dark: #000000;
JSON
{
  "hex": "#551886",
  "rgb": {
    "r": 85,
    "g": 24,
    "b": 134
  },
  "hsl": {
    "h": 273.273,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37207,
    "c": 0.16843,
    "h": 304.1
  },
  "luminance": 0.04306
}

Semantic roles & 50–950 ramp

primary
#551886
secondary
#76BA40
accent
#EC3B8A
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #551886

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

Preview Lab → · Contrast checker → · Palette generator →

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