#772277#772277

#772277 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.0% C 0.156 H 327.9°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#772277
RGBrgb(119, 34, 119)
HSLhsl(300, 56%, 30%)
HSVhsv(300, 71%, 47%)
CMYKcmyk(0%, 71.4%, 0%, 53.3%)
CIE-LABlab(30.40, 47.38, -29.93)
CIE-LCHlch(30.40, 56.04, 327.72°)
OKLaboklab(42.04% 0.1321 -0.0828)
OKLCHoklch(42.04% 0.156 327.9)
XYZxyz(11.5094, 6.3987, 18.0781)
Luminance0.0640 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772277 #227722
analogous
#4C2277 #772277 #77224D
triadic
#772277 #777722 #227777
tetradic
#772277 #774D22 #227722 #224C77
square
#772277 #774D22 #227722 #224C77
split-complementary
#772277 #4D7722 #22774D
monochromatic
#180718 #471447 #772277 #A730A7 #CB49CB

Accessibility & contrast

On white

9.21
#772277 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#772277 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772277
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772277#FFFFFF#000000##FFFFFF
##7722771.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144079
Deuteranopia (green-blind)
#384B75
Tritanopia (blue-blind)
#7B2E4A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #772277;
/* rgb */ color: rgb(119, 34, 119);
/* oklch */ color: oklch(42.0% 0.156 327.9);
Tailwind
colors: {
  custom: {
    50: '#a1669e',
    500: '#772277',
    950: '#000000',
  },
}
SCSS
$custom: #772277;
$custom-light: #a1669e;
$custom-dark: #000000;
JSON
{
  "hex": "#772277",
  "rgb": {
    "r": 119,
    "g": 34,
    "b": 119
  },
  "hsl": {
    "h": 300,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.42038,
    "c": 0.15594,
    "h": 327.9
  },
  "luminance": 0.06398
}

Semantic roles & 50–950 ramp

primary
#772277
secondary
#4BAA4B
accent
#DF4949
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #772277

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

Preview Lab → · Contrast checker → · Palette generator →

#772277 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva