#761978#761978

#761978 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.1% C 0.167 H 327.2°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#761978
RGBrgb(118, 25, 120)
HSLhsl(299, 66%, 28%)
HSVhsv(299, 79%, 47%)
CMYKcmyk(1.7%, 79.2%, 0%, 52.9%)
CIE-LABlab(29.17, 50.50, -32.53)
CIE-LCHlch(29.17, 60.07, 327.22°)
OKLaboklab(41.14% 0.1399 -0.0903)
OKLCHoklch(41.14% 0.167 327.2)
XYZxyz(11.2088, 5.9037, 18.3148)
Luminance0.0590 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761978 #1B7819
analogous
#461978 #761978 #78194A
triadic
#761978 #787619 #197876
tetradic
#761978 #784619 #1B7819 #194A78
square
#761978 #784619 #1B7819 #194A78
split-complementary
#761978 #4A7819 #197846
monochromatic
#190519 #440E45 #761978 #A824AB #D236D5

Accessibility & contrast

On white

9.63
#761978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#761978 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761978
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761978#FFFFFF#000000##FFFFFF
##7619781.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7B
Deuteranopia (green-blind)
#324976
Tritanopia (blue-blind)
#7A2948
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #761978;
/* rgb */ color: rgb(118, 25, 120);
/* oklch */ color: oklch(41.1% 0.167 327.2);
Tailwind
colors: {
  custom: {
    50: '#a1629f',
    500: '#761978',
    950: '#000000',
  },
}
SCSS
$custom: #761978;
$custom-light: #a1629f;
$custom-dark: #000000;
JSON
{
  "hex": "#761978",
  "rgb": {
    "r": 118,
    "g": 25,
    "b": 120
  },
  "hsl": {
    "h": 298.737,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41144,
    "c": 0.16655,
    "h": 327.2
  },
  "luminance": 0.05903
}

Semantic roles & 50–950 ramp

primary
#761978
secondary
#42AD40
accent
#E83F43
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #761978

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

Preview Lab → · Contrast checker → · Palette generator →

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