#551F98#551F98

#551F98 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.5% C 0.180 H 297.5°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#551F98
RGBrgb(85, 31, 152)
HSLhsl(267, 66%, 36%)
HSVhsv(267, 80%, 60%)
CMYKcmyk(44.1%, 79.6%, 0%, 40.4%)
CIE-LABlab(27.24, 48.91, -55.85)
CIE-LCHlch(27.24, 74.24, 311.21°)
OKLaboklab(39.5% 0.0834 -0.1599)
OKLCHoklch(39.5% 0.18 297.5)
XYZxyz(9.9023, 5.1781, 30.1774)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551F98 #62981F
analogous
#1F2598 #551F98 #911F98
triadic
#551F98 #98551F #1F9855
tetradic
#551F98 #981F25 #62981F #1F9891
square
#551F98 #981F25 #62981F #1F9891
split-complementary
#551F98 #98911F #25981F
monochromatic
#1C0A32 #391565 #551F98 #7129CB #9155DC

Accessibility & contrast

On white

10.32
#551F98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#551F98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551F98
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551F98#FFFFFF#000000##FFFFFF
##551F981.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419B
Deuteranopia (green-blind)
#003F96
Tritanopia (blue-blind)
#43405B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #551f98;
/* rgb */ color: rgb(85, 31, 152);
/* oklch */ color: oklch(39.5% 0.180 297.5);
Tailwind
colors: {
  custom: {
    50: '#8c62b7',
    500: '#551f98',
    950: '#000000',
  },
}
SCSS
$custom: #551f98;
$custom-light: #8c62b7;
$custom-dark: #000000;
JSON
{
  "hex": "#551f98",
  "rgb": {
    "r": 85,
    "g": 31,
    "b": 152
  },
  "hsl": {
    "h": 266.777,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39501,
    "c": 0.18036,
    "h": 297.5
  },
  "luminance": 0.05178
}

Semantic roles & 50–950 ramp

primary
#551F98
secondary
#8FC053
accent
#E93F9D
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #551F98

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

Preview Lab → · Contrast checker → · Palette generator →

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