#551785#551785

#551785 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 37.0% C 0.168 H 304.6°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#551785
RGBrgb(85, 23, 133)
HSLhsl(274, 71%, 31%)
HSVhsv(274, 83%, 52%)
CMYKcmyk(36.1%, 82.7%, 0%, 47.8%)
CIE-LABlab(24.44, 47.38, -48.63)
CIE-LCHlch(24.44, 67.90, 314.25°)
OKLaboklab(37.03% 0.0955 -0.1387)
OKLCHoklch(37.03% 0.168 304.6)
XYZxyz(8.2854, 4.2376, 22.5672)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551785 #478517
analogous
#1E1785 #551785 #85177E
triadic
#551785 #855517 #178555
tetradic
#551785 #851E17 #478517 #177E85
square
#551785 #851E17 #478517 #177E85
split-complementary
#551785 #7E8517 #17851E
monochromatic
#12051D #340E51 #551785 #7620B9 #963ADD

Accessibility & contrast

On white

11.37
#551785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #551785
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551785#FFFFFF#000000##FFFFFF
##5517851.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003988
Deuteranopia (green-blind)
#003A83
Tritanopia (blue-blind)
#4C354F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #551785;
/* rgb */ color: rgb(85, 23, 133);
/* oklch */ color: oklch(37.0% 0.168 304.6);
Tailwind
colors: {
  custom: {
    50: '#8a5da9',
    500: '#551785',
    950: '#000000',
  },
}
SCSS
$custom: #551785;
$custom-light: #8a5da9;
$custom-dark: #000000;
JSON
{
  "hex": "#551785",
  "rgb": {
    "r": 85,
    "g": 23,
    "b": 133
  },
  "hsl": {
    "h": 273.818,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.3703,
    "c": 0.16838,
    "h": 304.6
  },
  "luminance": 0.04238
}

Semantic roles & 50–950 ramp

primary
#551785
secondary
#74B93F
accent
#ED3B89
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #551785

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

Preview Lab → · Contrast checker → · Palette generator →

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