#772182#772182

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

Color values

HEX#772182
RGBrgb(119, 33, 130)
HSLhsl(293, 60%, 32%)
HSVhsv(293, 75%, 51%)
CMYKcmyk(8.5%, 74.6%, 0%, 49%)
CIE-LABlab(30.93, 49.80, -36.00)
CIE-LCHlch(30.93, 61.45, 324.13°)
OKLaboklab(42.64% 0.133 -0.1005)
OKLCHoklch(42.64% 0.167 322.9)
XYZxyz(12.1805, 6.6221, 21.7514)
Luminance0.0662 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772182 #2C8221
analogous
#472182 #772182 #82215D
triadic
#772182 #827721 #218277
tetradic
#772182 #824721 #2C8221 #215D82
square
#772182 #824721 #2C8221 #215D82
split-complementary
#772182 #5D8221 #218247
monochromatic
#1E0820 #4A1551 #772182 #A42DB3 #C24CD2

Accessibility & contrast

On white

9.04
#772182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#772182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772182
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772182#FFFFFF#000000##FFFFFF
##7721821.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #772182;
/* rgb */ color: rgb(119, 33, 130);
/* oklch */ color: oklch(42.6% 0.167 322.9);
Tailwind
colors: {
  custom: {
    50: '#a166a7',
    500: '#772182',
    950: '#000000',
  },
}
SCSS
$custom: #772182;
$custom-light: #a166a7;
$custom-dark: #000000;
JSON
{
  "hex": "#772182",
  "rgb": {
    "r": 119,
    "g": 33,
    "b": 130
  },
  "hsl": {
    "h": 293.196,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42635,
    "c": 0.16672,
    "h": 322.9
  },
  "luminance": 0.06621
}

Semantic roles & 50–950 ramp

primary
#772182
secondary
#56B44A
accent
#E34557
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #772182

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

Preview Lab → · Contrast checker → · Palette generator →

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