#772172#772172

#772172 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.6% C 0.153 H 330.4°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#772172
RGBrgb(119, 33, 114)
HSLhsl(303, 57%, 30%)
HSVhsv(303, 72%, 47%)
CMYKcmyk(0%, 72.3%, 4.2%, 53.3%)
CIE-LABlab(29.97, 46.88, -27.42)
CIE-LCHlch(29.97, 54.32, 329.68°)
OKLaboklab(41.64% 0.133 -0.0756)
OKLCHoklch(41.64% 0.153 330.4)
XYZxyz(11.1888, 6.2254, 16.5286)
Luminance0.0622 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772172 #217726
analogous
#512177 #772172 #772147
triadic
#772172 #727721 #217277
tetradic
#772172 #775121 #217726 #214777
square
#772172 #775121 #217726 #214777
split-complementary
#772172 #477721 #217751
monochromatic
#180717 #471444 #772172 #A72EA0 #CC47C4

Accessibility & contrast

On white

9.35
#772172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #772172
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772172#FFFFFF#000000##FFFFFF
##7721721.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193F74
Deuteranopia (green-blind)
#3A4B70
Tritanopia (blue-blind)
#7C2B47
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #772172;
/* rgb */ color: rgb(119, 33, 114);
/* oklch */ color: oklch(41.6% 0.153 330.4);
Tailwind
colors: {
  custom: {
    50: '#a1659b',
    500: '#772172',
    950: '#000000',
  },
}
SCSS
$custom: #772172;
$custom-light: #a1659b;
$custom-dark: #000000;
JSON
{
  "hex": "#772172",
  "rgb": {
    "r": 119,
    "g": 33,
    "b": 114
  },
  "hsl": {
    "h": 303.488,
    "s": 56.579,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41641,
    "c": 0.153,
    "h": 330.4
  },
  "luminance": 0.06225
}

Semantic roles & 50–950 ramp

primary
#772172
secondary
#4AAA4F
accent
#E05148
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #772172

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

Preview Lab → · Contrast checker → · Palette generator →

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