#77287B#77287B

#77287B is a dark, vivid purple. Relative luminance 0.069; OKLCH L 42.9% C 0.151 H 325.8°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#77287B
RGBrgb(119, 40, 123)
HSLhsl(297, 51%, 32%)
HSVhsv(297, 67%, 48%)
CMYKcmyk(3.3%, 67.5%, 0%, 51.8%)
CIE-LABlab(31.51, 45.64, -30.69)
CIE-LCHlch(31.51, 55.00, 326.08°)
OKLaboklab(42.92% 0.1253 -0.0851)
OKLCHoklch(42.92% 0.151 325.8)
XYZxyz(11.9414, 6.8703, 19.4322)
Luminance0.0687 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77287B #2C7B28
analogous
#4D287B #77287B #7B2856
triadic
#77287B #7B7728 #287B77
tetradic
#77287B #7B4D28 #2C7B28 #28567B
square
#77287B #7B4D28 #2C7B28 #28567B
split-complementary
#77287B #567B28 #287B4D
monochromatic
#1E0A1F #4A194D #77287B #A437A9 #C256C8

Accessibility & contrast

On white

8.85
#77287B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#77287B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77287B
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77287B#FFFFFF#000000##FFFFFF
##77287B1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19447D
Deuteranopia (green-blind)
#394E79
Tritanopia (blue-blind)
#7A344E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #77287b;
/* rgb */ color: rgb(119, 40, 123);
/* oklch */ color: oklch(42.9% 0.151 325.8);
Tailwind
colors: {
  custom: {
    50: '#a169a1',
    500: '#77287b',
    950: '#000000',
  },
}
SCSS
$custom: #77287b;
$custom-light: #a169a1;
$custom-dark: #000000;
JSON
{
  "hex": "#77287b",
  "rgb": {
    "r": 119,
    "g": 40,
    "b": 123
  },
  "hsl": {
    "h": 297.108,
    "s": 50.92,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42915,
    "c": 0.15144,
    "h": 325.8
  },
  "luminance": 0.0687
}

Semantic roles & 50–950 ramp

primary
#77287B
secondary
#56AD52
accent
#DA4D54
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #77287B

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

Preview Lab → · Contrast checker → · Palette generator →

#77287B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva