#77227F#77227F

#77227F is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.5% C 0.163 H 324.2°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#77227F
RGBrgb(119, 34, 127)
HSLhsl(295, 58%, 32%)
HSVhsv(295, 73%, 50%)
CMYKcmyk(6.3%, 73.2%, 0%, 50.2%)
CIE-LABlab(30.88, 48.85, -34.21)
CIE-LCHlch(30.88, 59.64, 325.00°)
OKLaboklab(42.54% 0.1321 -0.0953)
OKLCHoklch(42.54% 0.163 324.2)
XYZxyz(12.0102, 6.5990, 20.7157)
Luminance0.0660 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77227F #2A7F22
analogous
#49227F #77227F #7F2259
triadic
#77227F #7F7722 #227F77
tetradic
#77227F #7F4922 #2A7F22 #22597F
square
#77227F #7F4922 #2A7F22 #22597F
split-complementary
#77227F #597F22 #227F49
monochromatic
#1D081E #4A154F #77227F #A42FAF #C44CCF

Accessibility & contrast

On white

9.05
#77227F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#77227F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77227F
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77227F#FFFFFF#000000##FFFFFF
##77227F1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054282
Deuteranopia (green-blind)
#334C7D
Tritanopia (blue-blind)
#79324E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #77227f;
/* rgb */ color: rgb(119, 34, 127);
/* oklch */ color: oklch(42.5% 0.163 324.2);
Tailwind
colors: {
  custom: {
    50: '#a166a4',
    500: '#77227f',
    950: '#000000',
  },
}
SCSS
$custom: #77227f;
$custom-light: #a166a4;
$custom-dark: #000000;
JSON
{
  "hex": "#77227f",
  "rgb": {
    "r": 119,
    "g": 34,
    "b": 127
  },
  "hsl": {
    "h": 294.839,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42536,
    "c": 0.16288,
    "h": 324.2
  },
  "luminance": 0.06598
}

Semantic roles & 50–950 ramp

primary
#77227F
secondary
#54B24B
accent
#E14754
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #77227F

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

Preview Lab → · Contrast checker → · Palette generator →

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