#77227C#77227C

#77227C is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.3% C 0.160 H 325.6°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#77227C
RGBrgb(119, 34, 124)
HSLhsl(297, 57%, 31%)
HSVhsv(297, 73%, 49%)
CMYKcmyk(4%, 72.6%, 0%, 51.4%)
CIE-LABlab(30.69, 48.29, -32.62)
CIE-LCHlch(30.69, 58.27, 325.97°)
OKLaboklab(42.35% 0.1322 -0.0906)
OKLCHoklch(42.35% 0.16 325.6)
XYZxyz(11.8176, 6.5220, 19.7013)
Luminance0.0652 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77227C #277C22
analogous
#4A227C #77227C #7C2254
triadic
#77227C #7C7722 #227C77
tetradic
#77227C #7C4A22 #277C22 #22547C
square
#77227C #7C4A22 #277C22 #22547C
split-complementary
#77227C #547C22 #227C4A
monochromatic
#1B081C #49154C #77227C #A52FAC #C64BCE

Accessibility & contrast

On white

9.11
#77227C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#77227C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77227C
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77227C#FFFFFF#000000##FFFFFF
##77227C1.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C427F
Deuteranopia (green-blind)
#354C7A
Tritanopia (blue-blind)
#7A314C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #77227c;
/* rgb */ color: rgb(119, 34, 124);
/* oklch */ color: oklch(42.3% 0.160 325.6);
Tailwind
colors: {
  custom: {
    50: '#a166a2',
    500: '#77227c',
    950: '#000000',
  },
}
SCSS
$custom: #77227c;
$custom-light: #a166a2;
$custom-dark: #000000;
JSON
{
  "hex": "#77227c",
  "rgb": {
    "r": 119,
    "g": 34,
    "b": 124
  },
  "hsl": {
    "h": 296.667,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42346,
    "c": 0.16025,
    "h": 325.6
  },
  "luminance": 0.06521
}

Semantic roles & 50–950 ramp

primary
#77227C
secondary
#51AF4B
accent
#E04850
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #77227C

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

Preview Lab → · Contrast checker → · Palette generator →

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