#77226B#77226B

#77226B is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.3% C 0.146 H 334.1°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#77226B
RGBrgb(119, 34, 107)
HSLhsl(308, 56%, 30%)
HSVhsv(308, 71%, 47%)
CMYKcmyk(0%, 71.4%, 10.1%, 53.3%)
CIE-LABlab(29.73, 45.30, -23.33)
CIE-LCHlch(29.73, 50.95, 332.75°)
OKLaboklab(41.35% 0.1314 -0.0638)
OKLCHoklch(41.35% 0.146 334.1)
XYZxyz(10.8337, 6.1284, 14.5194)
Luminance0.0613 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77226B #22772E
analogous
#592277 #77226B #772240
triadic
#77226B #6B7722 #226B77
tetradic
#77226B #775922 #22772E #224077
square
#77226B #775922 #22772E #224077
split-complementary
#77226B #407722 #227759
monochromatic
#180715 #471440 #77226B #A73096 #CB49B8

Accessibility & contrast

On white

9.44
#77226B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#77226B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77226B
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77226B#FFFFFF#000000##FFFFFF
##77226B1.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203E6D
Deuteranopia (green-blind)
#3E4A69
Tritanopia (blue-blind)
#7D2943
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #77226b;
/* rgb */ color: rgb(119, 34, 107);
/* oklch */ color: oklch(41.3% 0.146 334.1);
Tailwind
colors: {
  custom: {
    50: '#a16595',
    500: '#77226b',
    950: '#000000',
  },
}
SCSS
$custom: #77226b;
$custom-light: #a16595;
$custom-dark: #000000;
JSON
{
  "hex": "#77226b",
  "rgb": {
    "r": 119,
    "g": 34,
    "b": 107
  },
  "hsl": {
    "h": 308.471,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.41345,
    "c": 0.14601,
    "h": 334.1
  },
  "luminance": 0.06128
}

Semantic roles & 50–950 ramp

primary
#77226B
secondary
#4BAA58
accent
#DF5E49
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #77226B

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

Preview Lab → · Contrast checker → · Palette generator →

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