#77227A#77227A

#77227A is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.2% C 0.159 H 326.5°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#77227A
RGBrgb(119, 34, 122)
HSLhsl(298, 56%, 31%)
HSVhsv(298, 72%, 48%)
CMYKcmyk(2.5%, 72.1%, 0%, 52.2%)
CIE-LABlab(30.57, 47.92, -31.55)
CIE-LCHlch(30.57, 57.38, 326.65°)
OKLaboklab(42.22% 0.1322 -0.0875)
OKLCHoklch(42.22% 0.159 326.5)
XYZxyz(11.6924, 6.4719, 19.0419)
Luminance0.0647 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77227A #257A22
analogous
#4B227A #77227A #7A2251
triadic
#77227A #7A7722 #227A77
tetradic
#77227A #7A4B22 #257A22 #22517A
square
#77227A #7A4B22 #257A22 #22517A
split-complementary
#77227A #517A22 #227A4B
monochromatic
#1A071A #48154A #77227A #A62FAA #C84ACD

Accessibility & contrast

On white

9.15
#77227A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#77227A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77227A
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77227A#FFFFFF#000000##FFFFFF
##77227A1.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10417C
Deuteranopia (green-blind)
#364C78
Tritanopia (blue-blind)
#7A304B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #77227a;
/* rgb */ color: rgb(119, 34, 122);
/* oklch */ color: oklch(42.2% 0.159 326.5);
Tailwind
colors: {
  custom: {
    50: '#a166a1',
    500: '#77227a',
    950: '#000000',
  },
}
SCSS
$custom: #77227a;
$custom-light: #a166a1;
$custom-dark: #000000;
JSON
{
  "hex": "#77227a",
  "rgb": {
    "r": 119,
    "g": 34,
    "b": 122
  },
  "hsl": {
    "h": 297.955,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42221,
    "c": 0.15851,
    "h": 326.5
  },
  "luminance": 0.06471
}

Semantic roles & 50–950 ramp

primary
#77227A
secondary
#4EAD4B
accent
#E0484D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #77227A

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

Preview Lab → · Contrast checker → · Palette generator →

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