#77227E#77227E

#77227E is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.5% C 0.162 H 324.6°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#77227E
RGBrgb(119, 34, 126)
HSLhsl(295, 58%, 31%)
HSVhsv(295, 73%, 49%)
CMYKcmyk(5.6%, 73%, 0%, 50.6%)
CIE-LABlab(30.81, 48.66, -33.68)
CIE-LCHlch(30.81, 59.18, 325.31°)
OKLaboklab(42.47% 0.1321 -0.0937)
OKLCHoklch(42.47% 0.162 324.6)
XYZxyz(11.9454, 6.5731, 20.3742)
Luminance0.0657 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77227E #297E22
analogous
#49227E #77227E #7E2257
triadic
#77227E #7E7722 #227E77
tetradic
#77227E #7E4922 #297E22 #22577E
square
#77227E #7E4922 #297E22 #22577E
split-complementary
#77227E #577E22 #227E49
monochromatic
#1C081E #49154E #77227E #A52FAE #C54CCF

Accessibility & contrast

On white

9.07
#77227E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#77227E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77227E
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77227E#FFFFFF#000000##FFFFFF
##77227E1.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074281
Deuteranopia (green-blind)
#344C7C
Tritanopia (blue-blind)
#7A314E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #77227e;
/* rgb */ color: rgb(119, 34, 126);
/* oklch */ color: oklch(42.5% 0.162 324.6);
Tailwind
colors: {
  custom: {
    50: '#a166a4',
    500: '#77227e',
    950: '#000000',
  },
}
SCSS
$custom: #77227e;
$custom-light: #a166a4;
$custom-dark: #000000;
JSON
{
  "hex": "#77227e",
  "rgb": {
    "r": 119,
    "g": 34,
    "b": 126
  },
  "hsl": {
    "h": 295.435,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42472,
    "c": 0.162,
    "h": 324.6
  },
  "luminance": 0.06572
}

Semantic roles & 50–950 ramp

primary
#77227E
secondary
#53B14B
accent
#E14753
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #77227E

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

Preview Lab → · Contrast checker → · Palette generator →

#77227E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva