#551682#551682

#551682 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.7% C 0.166 H 305.8°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#551682
RGBrgb(85, 22, 130)
HSLhsl(275, 71%, 30%)
HSVhsv(275, 83%, 51%)
CMYKcmyk(34.6%, 83.1%, 0%, 49%)
CIE-LABlab(24.05, 47.04, -47.38)
CIE-LCHlch(24.05, 66.76, 314.79°)
OKLaboklab(36.68% 0.0972 -0.135)
OKLCHoklch(36.68% 0.166 305.8)
XYZxyz(8.0616, 4.1169, 21.4847)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551682 #438216
analogous
#1F1682 #551682 #821679
triadic
#551682 #825516 #168255
tetradic
#551682 #821F16 #438216 #167982
square
#551682 #821F16 #438216 #167982
split-complementary
#551682 #798216 #16821F
monochromatic
#11041A #330D4E #551682 #771FB6 #9735DD

Accessibility & contrast

On white

11.52
#551682 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #551682
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551682#FFFFFF#000000##FFFFFF
##5516821.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003785
Deuteranopia (green-blind)
#003980
Tritanopia (blue-blind)
#4D334D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #551682;
/* rgb */ color: rgb(85, 22, 130);
/* oklch */ color: oklch(36.7% 0.166 305.8);
Tailwind
colors: {
  custom: {
    50: '#8a5ca7',
    500: '#551682',
    950: '#000000',
  },
}
SCSS
$custom: #551682;
$custom-light: #8a5ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#551682",
  "rgb": {
    "r": 85,
    "g": 22,
    "b": 130
  },
  "hsl": {
    "h": 275,
    "s": 71.053,
    "l": 29.804
  },
  "oklch": {
    "l": 0.36679,
    "c": 0.16632,
    "h": 305.8
  },
  "luminance": 0.04117
}

Semantic roles & 50–950 ramp

primary
#551682
secondary
#70B73D
accent
#EE3A85
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0410
muted
#7D797F

Preview Lab

Preview with #551682

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

Preview Lab → · Contrast checker → · Palette generator →

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