#551786#551786

#551786 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.169 H 304.2°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#551786
RGBrgb(85, 23, 134)
HSLhsl(274, 71%, 31%)
HSVhsv(274, 83%, 53%)
CMYKcmyk(36.6%, 82.8%, 0%, 47.5%)
CIE-LABlab(24.53, 47.62, -49.12)
CIE-LCHlch(24.53, 68.41, 314.11°)
OKLaboklab(37.12% 0.0952 -0.1401)
OKLCHoklch(37.12% 0.169 304.2)
XYZxyz(8.3548, 4.2653, 22.9328)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551786 #488617
analogous
#1E1786 #551786 #86177F
triadic
#551786 #865517 #178655
tetradic
#551786 #861E17 #488617 #177F86
square
#551786 #861E17 #488617 #177F86
split-complementary
#551786 #7F8617 #17861E
monochromatic
#13051E #340E52 #551786 #7620BA #953ADD

Accessibility & contrast

On white

11.33
#551786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#551786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551786
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551786#FFFFFF#000000##FFFFFF
##5517861.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #551786;
/* rgb */ color: rgb(85, 23, 134);
/* oklch */ color: oklch(37.1% 0.169 304.2);
Tailwind
colors: {
  custom: {
    50: '#8a5daa',
    500: '#551786',
    950: '#000000',
  },
}
SCSS
$custom: #551786;
$custom-light: #8a5daa;
$custom-dark: #000000;
JSON
{
  "hex": "#551786",
  "rgb": {
    "r": 85,
    "g": 23,
    "b": 134
  },
  "hsl": {
    "h": 273.514,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37118,
    "c": 0.16939,
    "h": 304.2
  },
  "luminance": 0.04265
}

Semantic roles & 50–950 ramp

primary
#551786
secondary
#75BA3F
accent
#ED3A89
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #551786

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

Preview Lab → · Contrast checker → · Palette generator →

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