#551F85#551F85

#551F85 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.160 H 303.6°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#551F85
RGBrgb(85, 31, 133)
HSLhsl(272, 62%, 32%)
HSVhsv(272, 77%, 52%)
CMYKcmyk(36.1%, 76.7%, 0%, 47.8%)
CIE-LABlab(25.58, 44.11, -46.78)
CIE-LCHlch(25.58, 64.30, 313.32°)
OKLaboklab(37.83% 0.0884 -0.1333)
OKLCHoklch(37.83% 0.16 303.6)
XYZxyz(8.4690, 4.6047, 22.6284)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551F85 #4F851F
analogous
#221F85 #551F85 #851F82
triadic
#551F85 #85551F #1F8555
tetradic
#551F85 #85221F #4F851F #1F8285
square
#551F85 #85221F #4F851F #1F8285
split-complementary
#551F85 #82851F #1F8522
monochromatic
#160822 #351353 #551F85 #752BB7 #934AD5

Accessibility & contrast

On white

10.93
#551F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#551F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551F85
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551F85#FFFFFF#000000##FFFFFF
##551F851.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B88
Deuteranopia (green-blind)
#003C83
Tritanopia (blue-blind)
#4B3950
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #551f85;
/* rgb */ color: rgb(85, 31, 133);
/* oklch */ color: oklch(37.8% 0.160 303.6);
Tailwind
colors: {
  custom: {
    50: '#8a61a9',
    500: '#551f85',
    950: '#000000',
  },
}
SCSS
$custom: #551f85;
$custom-light: #8a61a9;
$custom-dark: #000000;
JSON
{
  "hex": "#551f85",
  "rgb": {
    "r": 85,
    "g": 31,
    "b": 133
  },
  "hsl": {
    "h": 271.765,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37826,
    "c": 0.15996,
    "h": 303.6
  },
  "luminance": 0.04605
}

Semantic roles & 50–950 ramp

primary
#551F85
secondary
#7DB749
accent
#E5438F
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #551F85

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

Preview Lab → · Contrast checker → · Palette generator →

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