#761878#761878

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

Color values

HEX#761878
RGBrgb(118, 24, 120)
HSLhsl(299, 67%, 28%)
HSVhsv(299, 80%, 47%)
CMYKcmyk(1.7%, 80%, 0%, 52.9%)
CIE-LABlab(29.06, 50.81, -32.70)
CIE-LCHlch(29.06, 60.42, 327.24°)
OKLaboklab(41.07% 0.1408 -0.0908)
OKLCHoklch(41.07% 0.168 327.2)
XYZxyz(11.1878, 5.8617, 18.3078)
Luminance0.0586 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761878 #1A7818
analogous
#461878 #761878 #78184A
triadic
#761878 #787618 #187876
tetradic
#761878 #784618 #1A7818 #184A78
square
#761878 #784618 #1A7818 #184A78
split-complementary
#761878 #4A7818 #187846
monochromatic
#19051A #440E45 #761878 #A822AB #D334D6

Accessibility & contrast

On white

9.67
#761878 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#761878 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761878
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761878#FFFFFF#000000##FFFFFF
##7618781.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #761878;
/* rgb */ color: rgb(118, 24, 120);
/* oklch */ color: oklch(41.1% 0.168 327.2);
Tailwind
colors: {
  custom: {
    50: '#a1619f',
    500: '#761878',
    950: '#000000',
  },
}
SCSS
$custom: #761878;
$custom-light: #a1619f;
$custom-dark: #000000;
JSON
{
  "hex": "#761878",
  "rgb": {
    "r": 118,
    "g": 24,
    "b": 120
  },
  "hsl": {
    "h": 298.75,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.41068,
    "c": 0.16755,
    "h": 327.2
  },
  "luminance": 0.05861
}

Semantic roles & 50–950 ramp

primary
#761878
secondary
#41AD3F
accent
#EA3E42
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #761878

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

Preview Lab → · Contrast checker → · Palette generator →

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