#772478#772478

#772478 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.3% C 0.154 H 327.4°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#772478
RGBrgb(119, 36, 120)
HSLhsl(299, 54%, 31%)
HSVhsv(299, 70%, 47%)
CMYKcmyk(0.8%, 70%, 0%, 52.9%)
CIE-LABlab(30.74, 46.76, -30.02)
CIE-LCHlch(30.74, 55.57, 327.30°)
OKLaboklab(42.3% 0.1299 -0.0831)
OKLCHoklch(42.3% 0.154 327.4)
XYZxyz(11.6286, 6.5405, 18.4156)
Luminance0.0654 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772478 #257824
analogous
#4D2478 #772478 #78244F
triadic
#772478 #787724 #247877
tetradic
#772478 #784D24 #257824 #244F78
square
#772478 #784D24 #257824 #244F78
split-complementary
#772478 #4F7824 #24784D
monochromatic
#1A081A #481649 #772478 #A632A7 #C84DCA

Accessibility & contrast

On white

9.10
#772478 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #772478
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772478#FFFFFF#000000##FFFFFF
##7724781.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16417A
Deuteranopia (green-blind)
#384C76
Tritanopia (blue-blind)
#7B304B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #772478;
/* rgb */ color: rgb(119, 36, 120);
/* oklch */ color: oklch(42.3% 0.154 327.4);
Tailwind
colors: {
  custom: {
    50: '#a1679f',
    500: '#772478',
    950: '#000000',
  },
}
SCSS
$custom: #772478;
$custom-light: #a1679f;
$custom-dark: #000000;
JSON
{
  "hex": "#772478",
  "rgb": {
    "r": 119,
    "g": 36,
    "b": 120
  },
  "hsl": {
    "h": 299.286,
    "s": 53.846,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42301,
    "c": 0.15422,
    "h": 327.4
  },
  "luminance": 0.0654
}

Semantic roles & 50–950 ramp

primary
#772478
secondary
#4EAB4D
accent
#DD4B4C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #772478

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

Preview Lab → · Contrast checker → · Palette generator →

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