#772280#772280

#772280 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.6% C 0.164 H 323.8°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#772280
RGBrgb(119, 34, 128)
HSLhsl(294, 58%, 32%)
HSVhsv(294, 73%, 50%)
CMYKcmyk(7%, 73.4%, 0%, 49.8%)
CIE-LABlab(30.94, 49.04, -34.74)
CIE-LCHlch(30.94, 60.10, 324.69°)
OKLaboklab(42.6% 0.1321 -0.0968)
OKLCHoklch(42.6% 0.164 323.8)
XYZxyz(12.0757, 6.6252, 21.0606)
Luminance0.0663 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772280 #2B8022
analogous
#482280 #772280 #80225A
triadic
#772280 #807722 #228077
tetradic
#772280 #804822 #2B8022 #225A80
square
#772280 #804822 #2B8022 #225A80
split-complementary
#772280 #5A8022 #228048
monochromatic
#1D081F #4A1550 #772280 #A42FB0 #C34DD0

Accessibility & contrast

On white

9.03
#772280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#772280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772280
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772280#FFFFFF#000000##FFFFFF
##7722801.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024283
Deuteranopia (green-blind)
#324C7E
Tritanopia (blue-blind)
#79324F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #772280;
/* rgb */ color: rgb(119, 34, 128);
/* oklch */ color: oklch(42.6% 0.164 323.8);
Tailwind
colors: {
  custom: {
    50: '#a166a5',
    500: '#772280',
    950: '#000000',
  },
}
SCSS
$custom: #772280;
$custom-light: #a166a5;
$custom-dark: #000000;
JSON
{
  "hex": "#772280",
  "rgb": {
    "r": 119,
    "g": 34,
    "b": 128
  },
  "hsl": {
    "h": 294.255,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.426,
    "c": 0.16376,
    "h": 323.8
  },
  "luminance": 0.06625
}

Semantic roles & 50–950 ramp

primary
#772280
secondary
#55B24B
accent
#E14755
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #772280

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

Preview Lab → · Contrast checker → · Palette generator →

#772280 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva