#551874#551874

#551874 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.7% C 0.150 H 311.2°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#551874
RGBrgb(85, 24, 116)
HSLhsl(280, 66%, 27%)
HSVhsv(280, 79%, 45%)
CMYKcmyk(26.7%, 79.3%, 0%, 54.5%)
CIE-LABlab(23.15, 43.03, -39.94)
CIE-LCHlch(23.15, 58.71, 317.14°)
OKLaboklab(35.69% 0.0989 -0.1131)
OKLCHoklch(35.69% 0.15 311.2)
XYZxyz(7.2247, 3.8457, 16.8813)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551874 #377418
analogous
#271874 #551874 #741865
triadic
#551874 #745518 #187455
tetradic
#551874 #742718 #377418 #186574
square
#551874 #742718 #377418 #186574
split-complementary
#551874 #657418 #187427
monochromatic
#130519 #300E41 #551874 #7A22A7 #9E32D5

Accessibility & contrast

On white

11.87
#551874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#551874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551874
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551874#FFFFFF#000000##FFFFFF
##5518741.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003477
Deuteranopia (green-blind)
#053872
Tritanopia (blue-blind)
#512E45
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #551874;
/* rgb */ color: rgb(85, 24, 116);
/* oklch */ color: oklch(35.7% 0.150 311.2);
Tailwind
colors: {
  custom: {
    50: '#895c9d',
    500: '#551874',
    950: '#000000',
  },
}
SCSS
$custom: #551874;
$custom-light: #895c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#551874",
  "rgb": {
    "r": 85,
    "g": 24,
    "b": 116
  },
  "hsl": {
    "h": 279.783,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.35685,
    "c": 0.15026,
    "h": 311.2
  },
  "luminance": 0.03846
}

Semantic roles & 50–950 ramp

primary
#551874
secondary
#63A93F
accent
#E93F78
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #551874

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

Preview Lab → · Contrast checker → · Palette generator →

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