#77227B#77227B

#77227B is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.3% C 0.159 H 326.0°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#77227B
RGBrgb(119, 34, 123)
HSLhsl(297, 57%, 31%)
HSVhsv(297, 72%, 48%)
CMYKcmyk(3.3%, 72.4%, 0%, 51.8%)
CIE-LABlab(30.63, 48.11, -32.08)
CIE-LCHlch(30.63, 57.82, 326.30°)
OKLaboklab(42.28% 0.1322 -0.0891)
OKLCHoklch(42.28% 0.159 326)
XYZxyz(11.7547, 6.4968, 19.3699)
Luminance0.0650 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77227B #267B22
analogous
#4A227B #77227B #7B2252
triadic
#77227B #7B7722 #227B77
tetradic
#77227B #7B4A22 #267B22 #22527B
square
#77227B #7B4A22 #267B22 #22527B
split-complementary
#77227B #527B22 #227B4A
monochromatic
#1A071B #49154B #77227B #A52FAB #C74ACD

Accessibility & contrast

On white

9.13
#77227B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#77227B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77227B
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77227B#FFFFFF#000000##FFFFFF
##77227B1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E417E
Deuteranopia (green-blind)
#364C79
Tritanopia (blue-blind)
#7A304C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #77227b;
/* rgb */ color: rgb(119, 34, 123);
/* oklch */ color: oklch(42.3% 0.159 326.0);
Tailwind
colors: {
  custom: {
    50: '#a166a1',
    500: '#77227b',
    950: '#000000',
  },
}
SCSS
$custom: #77227b;
$custom-light: #a166a1;
$custom-dark: #000000;
JSON
{
  "hex": "#77227b",
  "rgb": {
    "r": 119,
    "g": 34,
    "b": 123
  },
  "hsl": {
    "h": 297.303,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42283,
    "c": 0.15939,
    "h": 326
  },
  "luminance": 0.06496
}

Semantic roles & 50–950 ramp

primary
#77227B
secondary
#4FAE4B
accent
#E0484F
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #77227B

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

Preview Lab → · Contrast checker → · Palette generator →

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