#772276#772276

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

Color values

HEX#772276
RGBrgb(119, 34, 118)
HSLhsl(301, 56%, 30%)
HSVhsv(301, 71%, 47%)
CMYKcmyk(0%, 71.4%, 0.8%, 53.3%)
CIE-LABlab(30.34, 47.20, -29.39)
CIE-LCHlch(30.34, 55.60, 328.09°)
OKLaboklab(41.98% 0.1321 -0.0813)
OKLCHoklch(41.98% 0.155 328.4)
XYZxyz(11.4497, 6.3748, 17.7634)
Luminance0.0637 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772276 #227723
analogous
#4E2277 #772276 #77224B
triadic
#772276 #767722 #227677
tetradic
#772276 #774E22 #227723 #224B77
square
#772276 #774E22 #227723 #224B77
split-complementary
#772276 #4B7722 #22774E
monochromatic
#180718 #471447 #772276 #A730A5 #CB49C9

Accessibility & contrast

On white

9.23
#772276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#772276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772276
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772276#FFFFFF#000000##FFFFFF
##7722761.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164078
Deuteranopia (green-blind)
#394B74
Tritanopia (blue-blind)
#7B2E49
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #772276;
/* rgb */ color: rgb(119, 34, 118);
/* oklch */ color: oklch(42.0% 0.155 328.4);
Tailwind
colors: {
  custom: {
    50: '#a1669e',
    500: '#772276',
    950: '#000000',
  },
}
SCSS
$custom: #772276;
$custom-light: #a1669e;
$custom-dark: #000000;
JSON
{
  "hex": "#772276",
  "rgb": {
    "r": 119,
    "g": 34,
    "b": 118
  },
  "hsl": {
    "h": 300.706,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.41977,
    "c": 0.15509,
    "h": 328.4
  },
  "luminance": 0.06374
}

Semantic roles & 50–950 ramp

primary
#772276
secondary
#4BAA4C
accent
#DF4B49
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #772276

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

Preview Lab → · Contrast checker → · Palette generator →

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