#77229B#77229B

#77229B is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.5% C 0.188 H 313.3°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#77229B
RGBrgb(119, 34, 155)
HSLhsl(282, 64%, 37%)
HSVhsv(282, 78%, 61%)
CMYKcmyk(23.2%, 78.1%, 0%, 39.2%)
CIE-LABlab(32.77, 54.43, -48.46)
CIE-LCHlch(32.77, 72.87, 318.32°)
OKLaboklab(44.49% 0.1291 -0.137)
OKLCHoklch(44.49% 0.188 313.3)
XYZxyz(14.0951, 7.4330, 31.6962)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77229B #469B22
analogous
#3B229B #77229B #9B2283
triadic
#77229B #9B7722 #229B77
tetradic
#77229B #9B3B22 #469B22 #22839B
square
#77229B #9B3B22 #469B22 #22839B
split-complementary
#77229B #839B22 #229B3B
monochromatic
#2A0C37 #501769 #77229B #9E2DCD #B55CDB

Accessibility & contrast

On white

8.45
#77229B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#77229B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77229B
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77229B#FFFFFF#000000##FFFFFF
##77229B1.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499E
Deuteranopia (green-blind)
#144F98
Tritanopia (blue-blind)
#733E5E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #77229b;
/* rgb */ color: rgb(119, 34, 155);
/* oklch */ color: oklch(44.5% 0.188 313.3);
Tailwind
colors: {
  custom: {
    50: '#a367b9',
    500: '#77229b',
    950: '#000000',
  },
}
SCSS
$custom: #77229b;
$custom-light: #a367b9;
$custom-dark: #000000;
JSON
{
  "hex": "#77229b",
  "rgb": {
    "r": 119,
    "g": 34,
    "b": 155
  },
  "hsl": {
    "h": 282.149,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44487,
    "c": 0.18822,
    "h": 313.3
  },
  "luminance": 0.07433
}

Semantic roles & 50–950 ramp

primary
#77229B
secondary
#78C059
accent
#E74172
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #77229B

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

Preview Lab → · Contrast checker → · Palette generator →

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