#77228F#77228F

#77228F is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.6% C 0.177 H 317.6°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#77228F
RGBrgb(119, 34, 143)
HSLhsl(287, 62%, 35%)
HSVhsv(287, 76%, 56%)
CMYKcmyk(16.8%, 76.2%, 0%, 43.9%)
CIE-LABlab(31.92, 51.97, -42.48)
CIE-LCHlch(31.92, 67.12, 320.73°)
OKLaboklab(43.61% 0.1309 -0.1195)
OKLCHoklch(43.61% 0.177 317.6)
XYZxyz(13.1370, 7.0497, 26.6500)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77228F #3A8F22
analogous
#41228F #77228F #8F2271
triadic
#77228F #8F7722 #228F77
tetradic
#77228F #8F4122 #3A8F22 #22718F
square
#77228F #8F4122 #3A8F22 #22718F
split-complementary
#77228F #718F22 #228F41
monochromatic
#250A2C #4E165E #77228F #A02EC0 #BA55D7

Accessibility & contrast

On white

8.71
#77228F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#77228F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77228F
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77228F#FFFFFF#000000##FFFFFF
##77228F1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#254E8D
Tritanopia (blue-blind)
#763957
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #77228f;
/* rgb */ color: rgb(119, 34, 143);
/* oklch */ color: oklch(43.6% 0.177 317.6);
Tailwind
colors: {
  custom: {
    50: '#a267b0',
    500: '#77228f',
    950: '#000000',
  },
}
SCSS
$custom: #77228f;
$custom-light: #a267b0;
$custom-dark: #000000;
JSON
{
  "hex": "#77228f",
  "rgb": {
    "r": 119,
    "g": 34,
    "b": 143
  },
  "hsl": {
    "h": 286.789,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43614,
    "c": 0.17721,
    "h": 317.6
  },
  "luminance": 0.07049
}

Semantic roles & 50–950 ramp

primary
#77228F
secondary
#69BA52
accent
#E54367
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #77228F

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

Preview Lab → · Contrast checker → · Palette generator →

#77228F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva