#772180#772180

#772180 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.5% C 0.165 H 323.8°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#772180
RGBrgb(119, 33, 128)
HSLhsl(294, 59%, 32%)
HSVhsv(294, 74%, 50%)
CMYKcmyk(7%, 74.2%, 0%, 49.8%)
CIE-LABlab(30.80, 49.42, -34.95)
CIE-LCHlch(30.80, 60.53, 324.73°)
OKLaboklab(42.51% 0.1331 -0.0974)
OKLCHoklch(42.51% 0.165 323.8)
XYZxyz(12.0475, 6.5689, 21.0512)
Luminance0.0657 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772180 #2A8021
analogous
#482180 #772180 #80215A
triadic
#772180 #807721 #218077
tetradic
#772180 #804821 #2A8021 #215A80
square
#772180 #804821 #2A8021 #215A80
split-complementary
#772180 #5A8021 #218048
monochromatic
#1D081F #4A144F #772180 #A42EB1 #C44BD1

Accessibility & contrast

On white

9.08
#772180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#772180 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772180
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772180#FFFFFF#000000##FFFFFF
##7721801.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004283
Deuteranopia (green-blind)
#324C7E
Tritanopia (blue-blind)
#79324E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #772180;
/* rgb */ color: rgb(119, 33, 128);
/* oklch */ color: oklch(42.5% 0.165 323.8);
Tailwind
colors: {
  custom: {
    50: '#a166a5',
    500: '#772180',
    950: '#000000',
  },
}
SCSS
$custom: #772180;
$custom-light: #a166a5;
$custom-dark: #000000;
JSON
{
  "hex": "#772180",
  "rgb": {
    "r": 119,
    "g": 33,
    "b": 128
  },
  "hsl": {
    "h": 294.316,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42505,
    "c": 0.16496,
    "h": 323.8
  },
  "luminance": 0.06568
}

Semantic roles & 50–950 ramp

primary
#772180
secondary
#54B34A
accent
#E24654
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #772180

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

Preview Lab → · Contrast checker → · Palette generator →

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