#77229D#77229D

#77229D is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.6% C 0.190 H 312.6°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#77229D
RGBrgb(119, 34, 157)
HSLhsl(281, 64%, 37%)
HSVhsv(281, 78%, 62%)
CMYKcmyk(24.2%, 78.3%, 0%, 38.4%)
CIE-LABlab(32.92, 54.85, -49.44)
CIE-LCHlch(32.92, 73.84, 317.97°)
OKLaboklab(44.64% 0.1287 -0.1399)
OKLCHoklch(44.64% 0.19 312.6)
XYZxyz(14.2645, 7.5007, 32.5881)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77229D #489D22
analogous
#39229D #77229D #9D2286
triadic
#77229D #9D7722 #229D77
tetradic
#77229D #9D3922 #489D22 #22869D
square
#77229D #9D3922 #489D22 #22869D
split-complementary
#77229D #869D22 #229D39
monochromatic
#2B0C38 #51176B #77229D #9D2DCF #B55DDC

Accessibility & contrast

On white

8.40
#77229D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#77229D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77229D
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77229D#FFFFFF#000000##FFFFFF
##77229D1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A0
Deuteranopia (green-blind)
#0F4F9A
Tritanopia (blue-blind)
#733F5F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #77229d;
/* rgb */ color: rgb(119, 34, 157);
/* oklch */ color: oklch(44.6% 0.190 312.6);
Tailwind
colors: {
  custom: {
    50: '#a367bb',
    500: '#77229d',
    950: '#000000',
  },
}
SCSS
$custom: #77229d;
$custom-light: #a367bb;
$custom-dark: #000000;
JSON
{
  "hex": "#77229d",
  "rgb": {
    "r": 119,
    "g": 34,
    "b": 157
  },
  "hsl": {
    "h": 281.463,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.44638,
    "c": 0.19007,
    "h": 312.6
  },
  "luminance": 0.075
}

Semantic roles & 50–950 ramp

primary
#77229D
secondary
#7AC15A
accent
#E74074
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #77229D

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

Preview Lab → · Contrast checker → · Palette generator →

#77229D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva