#551F72#551F72

#551F72 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.3% C 0.139 H 311.2°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#551F72
RGBrgb(85, 31, 114)
HSLhsl(279, 57%, 28%)
HSVhsv(279, 73%, 45%)
CMYKcmyk(25.4%, 72.8%, 0%, 55.3%)
CIE-LABlab(24.08, 39.49, -37.15)
CIE-LCHlch(24.08, 54.22, 316.75°)
OKLaboklab(36.3% 0.0918 -0.105)
OKLCHoklch(36.3% 0.139 311.2)
XYZxyz(7.2730, 4.1263, 16.3297)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551F72 #3C721F
analogous
#2B1F72 #551F72 #721F65
triadic
#551F72 #72551F #1F7255
tetradic
#551F72 #722B1F #3C721F #1F6572
square
#551F72 #722B1F #3C721F #1F6572
split-complementary
#551F72 #65721F #1F722B
monochromatic
#120718 #311242 #551F72 #792CA2 #9B40CB

Accessibility & contrast

On white

11.51
#551F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#551F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551F72
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551F72#FFFFFF#000000##FFFFFF
##551F721.0011.511.8311.51
#FFFFFF11.511.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003774
Deuteranopia (green-blind)
#143A70
Tritanopia (blue-blind)
#513146
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #551f72;
/* rgb */ color: rgb(85, 31, 114);
/* oklch */ color: oklch(36.3% 0.139 311.2);
Tailwind
colors: {
  custom: {
    50: '#88609b',
    500: '#551f72',
    950: '#000000',
  },
}
SCSS
$custom: #551f72;
$custom-light: #88609b;
$custom-dark: #000000;
JSON
{
  "hex": "#551f72",
  "rgb": {
    "r": 85,
    "g": 31,
    "b": 114
  },
  "hsl": {
    "h": 279.036,
    "s": 57.241,
    "l": 28.431
  },
  "oklch": {
    "l": 0.36297,
    "c": 0.13946,
    "h": 311.2
  },
  "luminance": 0.04126
}

Semantic roles & 50–950 ramp

primary
#551F72
secondary
#68A647
accent
#E0477D
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #551F72

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

Preview Lab → · Contrast checker → · Palette generator →

#551F72 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva