#551F7F#551F7F

#551F7F is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.153 H 305.8°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#551F7F
RGBrgb(85, 31, 127)
HSLhsl(274, 61%, 31%)
HSVhsv(274, 76%, 50%)
CMYKcmyk(33.1%, 75.6%, 0%, 50.2%)
CIE-LABlab(25.09, 42.63, -43.80)
CIE-LCHlch(25.09, 61.12, 314.22°)
OKLaboklab(37.33% 0.0897 -0.1245)
OKLCHoklch(37.33% 0.153 305.8)
XYZxyz(8.0662, 4.4436, 20.5073)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551F7F #497F1F
analogous
#251F7F #551F7F #7F1F79
triadic
#551F7F #7F551F #1F7F55
tetradic
#551F7F #7F251F #497F1F #1F797F
square
#551F7F #7F251F #497F1F #1F797F
split-complementary
#551F7F #797F1F #1F7F25
monochromatic
#13071D #34134E #551F7F #762BB0 #9546D2

Accessibility & contrast

On white

11.12
#551F7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#551F7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551F7F
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551F7F#FFFFFF#000000##FFFFFF
##551F7F1.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A82
Deuteranopia (green-blind)
#003C7D
Tritanopia (blue-blind)
#4D364D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #551f7f;
/* rgb */ color: rgb(85, 31, 127);
/* oklch */ color: oklch(37.3% 0.153 305.8);
Tailwind
colors: {
  custom: {
    50: '#8960a5',
    500: '#551f7f',
    950: '#000000',
  },
}
SCSS
$custom: #551f7f;
$custom-light: #8960a5;
$custom-dark: #000000;
JSON
{
  "hex": "#551f7f",
  "rgb": {
    "r": 85,
    "g": 31,
    "b": 127
  },
  "hsl": {
    "h": 273.75,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37325,
    "c": 0.15348,
    "h": 305.8
  },
  "luminance": 0.04444
}

Semantic roles & 50–950 ramp

primary
#551F7F
secondary
#76B248
accent
#E4448A
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #551F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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