#772284#772284

#772284 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.9% C 0.167 H 322.0°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#772284
RGBrgb(119, 34, 132)
HSLhsl(292, 59%, 33%)
HSVhsv(292, 74%, 52%)
CMYKcmyk(9.8%, 74.2%, 0%, 48.2%)
CIE-LABlab(31.19, 49.80, -36.83)
CIE-LCHlch(31.19, 61.94, 323.51°)
OKLaboklab(42.86% 0.1319 -0.1029)
OKLCHoklch(42.86% 0.167 322)
XYZxyz(12.3442, 6.7326, 22.4746)
Luminance0.0673 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772284 #2F8422
analogous
#462284 #772284 #842260
triadic
#772284 #847722 #228477
tetradic
#772284 #844622 #2F8422 #226084
square
#772284 #844622 #2F8422 #226084
split-complementary
#772284 #608422 #228446
monochromatic
#1F0923 #4B1553 #772284 #A32FB5 #C04FD2

Accessibility & contrast

On white

8.95
#772284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#772284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772284
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772284#FFFFFF#000000##FFFFFF
##7722841.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004387
Deuteranopia (green-blind)
#2F4D82
Tritanopia (blue-blind)
#783451
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #772284;
/* rgb */ color: rgb(119, 34, 132);
/* oklch */ color: oklch(42.9% 0.167 322.0);
Tailwind
colors: {
  custom: {
    50: '#a166a8',
    500: '#772284',
    950: '#000000',
  },
}
SCSS
$custom: #772284;
$custom-light: #a166a8;
$custom-dark: #000000;
JSON
{
  "hex": "#772284",
  "rgb": {
    "r": 119,
    "g": 34,
    "b": 132
  },
  "hsl": {
    "h": 292.041,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42862,
    "c": 0.1673,
    "h": 322
  },
  "luminance": 0.06732
}

Semantic roles & 50–950 ramp

primary
#772284
secondary
#5BB54D
accent
#E2465A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #772284

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

Preview Lab → · Contrast checker → · Palette generator →

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