#772282#772282

#772282 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.7% C 0.166 H 322.9°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#772282
RGBrgb(119, 34, 130)
HSLhsl(293, 59%, 32%)
HSVhsv(293, 74%, 51%)
CMYKcmyk(8.5%, 73.8%, 0%, 49%)
CIE-LABlab(31.06, 49.42, -35.79)
CIE-LCHlch(31.06, 61.02, 324.09°)
OKLaboklab(42.73% 0.132 -0.0999)
OKLCHoklch(42.73% 0.166 322.9)
XYZxyz(12.2086, 6.6784, 21.7608)
Luminance0.0668 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772282 #2D8222
analogous
#472282 #772282 #82225D
triadic
#772282 #827722 #228277
tetradic
#772282 #824722 #2D8222 #225D82
square
#772282 #824722 #2D8222 #225D82
split-complementary
#772282 #5D8222 #228247
monochromatic
#1E0921 #4B1551 #772282 #A32FB3 #C24ED1

Accessibility & contrast

On white

8.99
#772282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#772282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772282
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772282#FFFFFF#000000##FFFFFF
##7722821.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004385
Deuteranopia (green-blind)
#314C80
Tritanopia (blue-blind)
#793350
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #772282;
/* rgb */ color: rgb(119, 34, 130);
/* oklch */ color: oklch(42.7% 0.166 322.9);
Tailwind
colors: {
  custom: {
    50: '#a166a7',
    500: '#772282',
    950: '#000000',
  },
}
SCSS
$custom: #772282;
$custom-light: #a166a7;
$custom-dark: #000000;
JSON
{
  "hex": "#772282",
  "rgb": {
    "r": 119,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 293.125,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.4273,
    "c": 0.16553,
    "h": 322.9
  },
  "luminance": 0.06678
}

Semantic roles & 50–950 ramp

primary
#772282
secondary
#58B44C
accent
#E24658
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #772282

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

Preview Lab → · Contrast checker → · Palette generator →

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