#77226F#77226F

#77226F is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.6% C 0.149 H 332.0°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#77226F
RGBrgb(119, 34, 111)
HSLhsl(306, 56%, 30%)
HSVhsv(306, 71%, 47%)
CMYKcmyk(0%, 71.4%, 6.7%, 53.3%)
CIE-LABlab(29.95, 45.97, -25.55)
CIE-LCHlch(29.95, 52.60, 330.93°)
OKLaboklab(41.57% 0.1317 -0.0702)
OKLCHoklch(41.57% 0.149 332)
XYZxyz(11.0490, 6.2146, 15.6534)
Luminance0.0621 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77226F #22772A
analogous
#542277 #77226F #772245
triadic
#77226F #6F7722 #226F77
tetradic
#77226F #775422 #22772A #224577
square
#77226F #775422 #22772A #224577
split-complementary
#77226F #457722 #227754
monochromatic
#180716 #471443 #77226F #A7309B #CB49BF

Accessibility & contrast

On white

9.36
#77226F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#77226F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77226F
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77226F#FFFFFF#000000##FFFFFF
##77226F1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3F71
Deuteranopia (green-blind)
#3C4B6D
Tritanopia (blue-blind)
#7C2B45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #77226f;
/* rgb */ color: rgb(119, 34, 111);
/* oklch */ color: oklch(41.6% 0.149 332.0);
Tailwind
colors: {
  custom: {
    50: '#a16598',
    500: '#77226f',
    950: '#000000',
  },
}
SCSS
$custom: #77226f;
$custom-light: #a16598;
$custom-dark: #000000;
JSON
{
  "hex": "#77226f",
  "rgb": {
    "r": 119,
    "g": 34,
    "b": 111
  },
  "hsl": {
    "h": 305.647,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.41568,
    "c": 0.14924,
    "h": 332
  },
  "luminance": 0.06214
}

Semantic roles & 50–950 ramp

primary
#77226F
secondary
#4BAA54
accent
#DF5749
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #77226F

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

Preview Lab → · Contrast checker → · Palette generator →

#77226F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva