#761778#761778

#761778 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.0% C 0.169 H 327.2°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#761778
RGBrgb(118, 23, 120)
HSLhsl(299, 68%, 28%)
HSVhsv(299, 81%, 47%)
CMYKcmyk(1.7%, 80.8%, 0%, 52.9%)
CIE-LABlab(28.96, 51.11, -32.86)
CIE-LCHlch(28.96, 60.77, 327.26°)
OKLaboklab(40.99% 0.1416 -0.0913)
OKLCHoklch(40.99% 0.169 327.2)
XYZxyz(11.1676, 5.8212, 18.3011)
Luminance0.0582 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761778 #197817
analogous
#451778 #761778 #781749
triadic
#761778 #787617 #177876
tetradic
#761778 #784517 #197817 #174978
square
#761778 #784517 #197817 #174978
split-complementary
#761778 #497817 #177845
monochromatic
#19051A #430D45 #761778 #A821AB #D432D8

Accessibility & contrast

On white

9.70
#761778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#761778 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761778
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761778#FFFFFF#000000##FFFFFF
##7617781.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #761778;
/* rgb */ color: rgb(118, 23, 120);
/* oklch */ color: oklch(41.0% 0.169 327.2);
Tailwind
colors: {
  custom: {
    50: '#a1619f',
    500: '#761778',
    950: '#000000',
  },
}
SCSS
$custom: #761778;
$custom-light: #a1619f;
$custom-dark: #000000;
JSON
{
  "hex": "#761778",
  "rgb": {
    "r": 118,
    "g": 23,
    "b": 120
  },
  "hsl": {
    "h": 298.763,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40994,
    "c": 0.16852,
    "h": 327.2
  },
  "luminance": 0.0582
}

Semantic roles & 50–950 ramp

primary
#761778
secondary
#40AD3E
accent
#EB3D41
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #761778

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

Preview Lab → · Contrast checker → · Palette generator →

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