#551277#551277

#551277 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.4% C 0.159 H 310.5°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#551277
RGBrgb(85, 18, 119)
HSLhsl(280, 74%, 27%)
HSVhsv(280, 85%, 47%)
CMYKcmyk(28.6%, 84.9%, 0%, 53.3%)
CIE-LABlab(22.64, 45.90, -42.69)
CIE-LCHlch(22.64, 62.69, 317.08°)
OKLaboklab(35.4% 0.1034 -0.1212)
OKLCHoklch(35.4% 0.159 310.5)
XYZxyz(7.2917, 3.6960, 17.7785)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551277 #347712
analogous
#231277 #551277 #771267
triadic
#551277 #775512 #127755
tetradic
#551277 #772312 #347712 #126777
square
#551277 #772312 #347712 #126777
split-complementary
#551277 #677712 #127723
monochromatic
#13041B #2F0A42 #551277 #7B1AAC #A025DE

Accessibility & contrast

On white

12.07
#551277 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#551277 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551277
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551277#FFFFFF#000000##FFFFFF
##5512771.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337A
Deuteranopia (green-blind)
#003775
Tritanopia (blue-blind)
#502D46
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #551277;
/* rgb */ color: rgb(85, 18, 119);
/* oklch */ color: oklch(35.4% 0.159 310.5);
Tailwind
colors: {
  custom: {
    50: '#895a9f',
    500: '#551277',
    950: '#000000',
  },
}
SCSS
$custom: #551277;
$custom-light: #895a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#551277",
  "rgb": {
    "r": 85,
    "g": 18,
    "b": 119
  },
  "hsl": {
    "h": 279.802,
    "s": 73.723,
    "l": 26.863
  },
  "oklch": {
    "l": 0.35401,
    "c": 0.15932,
    "h": 310.5
  },
  "luminance": 0.03696
}

Semantic roles & 50–950 ramp

primary
#551277
secondary
#5FAD37
accent
#F03776
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #551277

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

Preview Lab → · Contrast checker → · Palette generator →

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