#772381#772381

#772381 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.8% C 0.163 H 323.3°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#772381
RGBrgb(119, 35, 129)
HSLhsl(294, 57%, 32%)
HSVhsv(294, 73%, 51%)
CMYKcmyk(7.8%, 72.9%, 0%, 49.4%)
CIE-LABlab(31.14, 48.84, -35.05)
CIE-LCHlch(31.14, 60.12, 324.34°)
OKLaboklab(42.76% 0.131 -0.0977)
OKLCHoklch(42.76% 0.163 323.3)
XYZxyz(12.1709, 6.7097, 21.4187)
Luminance0.0671 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772381 #2D8123
analogous
#482381 #772381 #81235C
triadic
#772381 #817723 #238177
tetradic
#772381 #814823 #2D8123 #235C81
square
#772381 #814823 #2D8123 #235C81
split-complementary
#772381 #5C8123 #238148
monochromatic
#1E0921 #4B1651 #772381 #A330B1 #C24FCF

Accessibility & contrast

On white

8.97
#772381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#772381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772381
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772381#FFFFFF#000000##FFFFFF
##7723811.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034384
Deuteranopia (green-blind)
#324D7F
Tritanopia (blue-blind)
#793350
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #772381;
/* rgb */ color: rgb(119, 35, 129);
/* oklch */ color: oklch(42.8% 0.163 323.3);
Tailwind
colors: {
  custom: {
    50: '#a166a6',
    500: '#772381',
    950: '#000000',
  },
}
SCSS
$custom: #772381;
$custom-light: #a166a6;
$custom-dark: #000000;
JSON
{
  "hex": "#772381",
  "rgb": {
    "r": 119,
    "g": 35,
    "b": 129
  },
  "hsl": {
    "h": 293.617,
    "s": 57.317,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42762,
    "c": 0.16342,
    "h": 323.3
  },
  "luminance": 0.06709
}

Semantic roles & 50–950 ramp

primary
#772381
secondary
#58B34D
accent
#E14758
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #772381

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

Preview Lab → · Contrast checker → · Palette generator →

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