#772170#772170

#772170 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.5% C 0.151 H 331.4°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#772170
RGBrgb(119, 33, 112)
HSLhsl(305, 57%, 30%)
HSVhsv(305, 72%, 47%)
CMYKcmyk(0%, 72.3%, 5.9%, 53.3%)
CIE-LABlab(29.86, 46.54, -26.32)
CIE-LCHlch(29.86, 53.47, 330.51°)
OKLaboklab(41.53% 0.1329 -0.0724)
OKLCHoklch(41.53% 0.151 331.4)
XYZxyz(11.0762, 6.1804, 15.9357)
Luminance0.0618 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772170 #217728
analogous
#532177 #772170 #772145
triadic
#772170 #707721 #217077
tetradic
#772170 #775321 #217728 #214577
square
#772170 #775321 #217728 #214577
split-complementary
#772170 #457721 #217753
monochromatic
#180717 #471443 #772170 #A72E9D #CC47C1

Accessibility & contrast

On white

9.39
#772170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#772170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772170
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772170#FFFFFF#000000##FFFFFF
##7721701.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3F72
Deuteranopia (green-blind)
#3B4B6E
Tritanopia (blue-blind)
#7C2A46
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #772170;
/* rgb */ color: rgb(119, 33, 112);
/* oklch */ color: oklch(41.5% 0.151 331.4);
Tailwind
colors: {
  custom: {
    50: '#a16599',
    500: '#772170',
    950: '#000000',
  },
}
SCSS
$custom: #772170;
$custom-light: #a16599;
$custom-dark: #000000;
JSON
{
  "hex": "#772170",
  "rgb": {
    "r": 119,
    "g": 33,
    "b": 112
  },
  "hsl": {
    "h": 304.884,
    "s": 56.579,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41525,
    "c": 0.15136,
    "h": 331.4
  },
  "luminance": 0.0618
}

Semantic roles & 50–950 ramp

primary
#772170
secondary
#4AAA51
accent
#E05448
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #772170

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

Preview Lab → · Contrast checker → · Palette generator →

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