#77277B#77277B

#77277B is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.8% C 0.153 H 325.9°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#77277B
RGBrgb(119, 39, 123)
HSLhsl(297, 52%, 32%)
HSVhsv(297, 68%, 48%)
CMYKcmyk(3.3%, 68.3%, 0%, 51.8%)
CIE-LABlab(31.36, 46.07, -30.93)
CIE-LCHlch(31.36, 55.49, 326.12°)
OKLaboklab(42.8% 0.1265 -0.0858)
OKLCHoklch(42.8% 0.153 325.9)
XYZxyz(11.9082, 6.8038, 19.4211)
Luminance0.0680 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77277B #2B7B27
analogous
#4D277B #77277B #7B2755
triadic
#77277B #7B7727 #277B77
tetradic
#77277B #7B4D27 #2B7B27 #27557B
square
#77277B #7B4D27 #2B7B27 #27557B
split-complementary
#77277B #557B27 #277B4D
monochromatic
#1D0A1E #4A184D #77277B #A436A9 #C354C9

Accessibility & contrast

On white

8.90
#77277B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#77277B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77277B
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77277B#FFFFFF#000000##FFFFFF
##77277B1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18437D
Deuteranopia (green-blind)
#384D79
Tritanopia (blue-blind)
#7A334D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #77277b;
/* rgb */ color: rgb(119, 39, 123);
/* oklch */ color: oklch(42.8% 0.153 325.9);
Tailwind
colors: {
  custom: {
    50: '#a168a1',
    500: '#77277b',
    950: '#000000',
  },
}
SCSS
$custom: #77277b;
$custom-light: #a168a1;
$custom-dark: #000000;
JSON
{
  "hex": "#77277b",
  "rgb": {
    "r": 119,
    "g": 39,
    "b": 123
  },
  "hsl": {
    "h": 297.143,
    "s": 51.852,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42804,
    "c": 0.15282,
    "h": 325.9
  },
  "luminance": 0.06803
}

Semantic roles & 50–950 ramp

primary
#77277B
secondary
#55AD51
accent
#DB4C53
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #77277B

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

Preview Lab → · Contrast checker → · Palette generator →

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