#772173#772173

#772173 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.7% C 0.154 H 329.9°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#772173
RGBrgb(119, 33, 115)
HSLhsl(303, 57%, 30%)
HSVhsv(303, 72%, 47%)
CMYKcmyk(0%, 72.3%, 3.4%, 53.3%)
CIE-LABlab(30.03, 47.06, -27.97)
CIE-LCHlch(30.03, 54.74, 329.27°)
OKLaboklab(41.7% 0.1331 -0.0771)
OKLCHoklch(41.7% 0.154 329.9)
XYZxyz(11.2460, 6.2483, 16.8301)
Luminance0.0625 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772173 #217725
analogous
#502177 #772173 #772148
triadic
#772173 #737721 #217377
tetradic
#772173 #775021 #217725 #214877
square
#772173 #775021 #217725 #214877
split-complementary
#772173 #487721 #217750
monochromatic
#180717 #471445 #772173 #A72EA1 #CC47C6

Accessibility & contrast

On white

9.34
#772173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#772173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772173
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772173#FFFFFF#000000##FFFFFF
##7721731.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183F75
Deuteranopia (green-blind)
#3A4B71
Tritanopia (blue-blind)
#7B2C47
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #772173;
/* rgb */ color: rgb(119, 33, 115);
/* oklch */ color: oklch(41.7% 0.154 329.9);
Tailwind
colors: {
  custom: {
    50: '#a1659b',
    500: '#772173',
    950: '#000000',
  },
}
SCSS
$custom: #772173;
$custom-light: #a1659b;
$custom-dark: #000000;
JSON
{
  "hex": "#772173",
  "rgb": {
    "r": 119,
    "g": 33,
    "b": 115
  },
  "hsl": {
    "h": 302.791,
    "s": 56.579,
    "l": 29.804
  },
  "oklch": {
    "l": 0.417,
    "c": 0.15383,
    "h": 329.9
  },
  "luminance": 0.06247
}

Semantic roles & 50–950 ramp

primary
#772173
secondary
#4AAA4E
accent
#E04F48
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #772173

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

Preview Lab → · Contrast checker → · Palette generator →

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