#77288C#77288C

#77288C is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.0% C 0.167 H 318.4°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#77288C
RGBrgb(119, 40, 140)
HSLhsl(287, 56%, 35%)
HSVhsv(287, 71%, 55%)
CMYKcmyk(15%, 71.4%, 0%, 45.1%)
CIE-LABlab(32.55, 48.98, -39.62)
CIE-LCHlch(32.55, 63.00, 321.04°)
OKLaboklab(44% 0.125 -0.1111)
OKLCHoklch(44% 0.167 318.4)
XYZxyz(13.0995, 7.3336, 25.5314)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77288C #3D8C28
analogous
#45288C #77288C #8C286F
triadic
#77288C #8C7728 #288C77
tetradic
#77288C #8C4528 #3D8C28 #286F8C
square
#77288C #8C4528 #3D8C28 #286F8C
split-complementary
#77288C #6F8C28 #288C45
monochromatic
#260D2D #4F1A5C #77288C #9F36BC #B95ED1

Accessibility & contrast

On white

8.51
#77288C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#77288C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77288C
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77288C#FFFFFF#000000##FFFFFF
##77288C1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478F
Deuteranopia (green-blind)
#2D4F8A
Tritanopia (blue-blind)
#773B57
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #77288c;
/* rgb */ color: rgb(119, 40, 140);
/* oklch */ color: oklch(44.0% 0.167 318.4);
Tailwind
colors: {
  custom: {
    50: '#a169ae',
    500: '#77288c',
    950: '#000000',
  },
}
SCSS
$custom: #77288c;
$custom-light: #a169ae;
$custom-dark: #000000;
JSON
{
  "hex": "#77288c",
  "rgb": {
    "r": 119,
    "g": 40,
    "b": 140
  },
  "hsl": {
    "h": 287.4,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44002,
    "c": 0.16724,
    "h": 318.4
  },
  "luminance": 0.07333
}

Semantic roles & 50–950 ramp

primary
#77288C
secondary
#6DB65A
accent
#DF4968
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #77288C

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

Preview Lab → · Contrast checker → · Palette generator →

#77288C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva