#551174#551174

#551174 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 35.1% C 0.157 H 311.8°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#551174
RGBrgb(85, 17, 116)
HSLhsl(281, 74%, 26%)
HSVhsv(281, 85%, 45%)
CMYKcmyk(26.7%, 85.3%, 0%, 54.5%)
CIE-LABlab(22.28, 45.57, -41.36)
CIE-LCHlch(22.28, 61.54, 317.77°)
OKLaboklab(35.07% 0.105 -0.1172)
OKLCHoklch(35.07% 0.157 311.8)
XYZxyz(7.0986, 3.5933, 16.8393)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551174 #307411
analogous
#231174 #551174 #741161
triadic
#551174 #745511 #117455
tetradic
#551174 #742311 #307411 #116174
square
#551174 #742311 #307411 #116174
split-complementary
#551174 #617411 #117423
monochromatic
#14041B #2E093F #551174 #7C19A9 #A321DE

Accessibility & contrast

On white

12.22
#551174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#551174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551174
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551174#FFFFFF#000000##FFFFFF
##5511741.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003277
Deuteranopia (green-blind)
#003672
Tritanopia (blue-blind)
#512B44
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #551174;
/* rgb */ color: rgb(85, 17, 116);
/* oklch */ color: oklch(35.1% 0.157 311.8);
Tailwind
colors: {
  custom: {
    50: '#89599d',
    500: '#551174',
    950: '#000000',
  },
}
SCSS
$custom: #551174;
$custom-light: #89599d;
$custom-dark: #000000;
JSON
{
  "hex": "#551174",
  "rgb": {
    "r": 85,
    "g": 17,
    "b": 116
  },
  "hsl": {
    "h": 281.212,
    "s": 74.436,
    "l": 26.078
  },
  "oklch": {
    "l": 0.35071,
    "c": 0.15738,
    "h": 311.8
  },
  "luminance": 0.03593
}

Semantic roles & 50–950 ramp

primary
#551174
secondary
#5BAB36
accent
#F13771
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #551174

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

Preview Lab → · Contrast checker → · Palette generator →

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