#772181#772181

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

Color values

HEX#772181
RGBrgb(119, 33, 129)
HSLhsl(294, 59%, 32%)
HSVhsv(294, 74%, 51%)
CMYKcmyk(7.8%, 74.4%, 0%, 49.4%)
CIE-LABlab(30.87, 49.61, -35.48)
CIE-LCHlch(30.87, 60.99, 324.43°)
OKLaboklab(42.57% 0.1331 -0.099)
OKLCHoklch(42.57% 0.166 323.4)
XYZxyz(12.1137, 6.5954, 21.3996)
Luminance0.0659 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772181 #2B8121
analogous
#472181 #772181 #81215B
triadic
#772181 #817721 #218177
tetradic
#772181 #814721 #2B8121 #215B81
square
#772181 #814721 #2B8121 #215B81
split-complementary
#772181 #5B8121 #218147
monochromatic
#1D0820 #4A1550 #772181 #A42DB2 #C34BD1

Accessibility & contrast

On white

9.06
#772181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #772181
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772181#FFFFFF#000000##FFFFFF
##7721811.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004284
Deuteranopia (green-blind)
#314C7F
Tritanopia (blue-blind)
#79324F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #772181;
/* rgb */ color: rgb(119, 33, 129);
/* oklch */ color: oklch(42.6% 0.166 323.4);
Tailwind
colors: {
  custom: {
    50: '#a166a6',
    500: '#772181',
    950: '#000000',
  },
}
SCSS
$custom: #772181;
$custom-light: #a166a6;
$custom-dark: #000000;
JSON
{
  "hex": "#772181",
  "rgb": {
    "r": 119,
    "g": 33,
    "b": 129
  },
  "hsl": {
    "h": 293.75,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.4257,
    "c": 0.16583,
    "h": 323.4
  },
  "luminance": 0.06595
}

Semantic roles & 50–950 ramp

primary
#772181
secondary
#55B44A
accent
#E24556
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #772181

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

Preview Lab → · Contrast checker → · Palette generator →

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