#772272#772272

#772272 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.7% C 0.152 H 330.4°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#772272
RGBrgb(119, 34, 114)
HSLhsl(304, 56%, 30%)
HSVhsv(304, 71%, 47%)
CMYKcmyk(0%, 71.4%, 4.2%, 53.3%)
CIE-LABlab(30.11, 46.49, -27.21)
CIE-LCHlch(30.11, 53.87, 329.67°)
OKLaboklab(41.74% 0.1319 -0.0749)
OKLCHoklch(41.74% 0.152 330.4)
XYZxyz(11.2170, 6.2817, 16.5380)
Luminance0.0628 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772272 #227727
analogous
#512277 #772272 #772248
triadic
#772272 #727722 #227277
tetradic
#772272 #775122 #227727 #224877
square
#772272 #775122 #227727 #224877
split-complementary
#772272 #487722 #227751
monochromatic
#180717 #471444 #772272 #A730A0 #CB49C3

Accessibility & contrast

On white

9.31
#772272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#772272 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772272
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772272#FFFFFF#000000##FFFFFF
##7722721.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3F74
Deuteranopia (green-blind)
#3B4B70
Tritanopia (blue-blind)
#7C2C47
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #772272;
/* rgb */ color: rgb(119, 34, 114);
/* oklch */ color: oklch(41.7% 0.152 330.4);
Tailwind
colors: {
  custom: {
    50: '#a1659b',
    500: '#772272',
    950: '#000000',
  },
}
SCSS
$custom: #772272;
$custom-light: #a1659b;
$custom-dark: #000000;
JSON
{
  "hex": "#772272",
  "rgb": {
    "r": 119,
    "g": 34,
    "b": 114
  },
  "hsl": {
    "h": 303.529,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.41741,
    "c": 0.15172,
    "h": 330.4
  },
  "luminance": 0.06281
}

Semantic roles & 50–950 ramp

primary
#772272
secondary
#4BAA50
accent
#DF5249
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #772272

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

Preview Lab → · Contrast checker → · Palette generator →

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