#761971#761971

#761971 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.7% C 0.161 H 330.5°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#761971
RGBrgb(118, 25, 113)
HSLhsl(303, 65%, 28%)
HSVhsv(303, 79%, 46%)
CMYKcmyk(0%, 78.8%, 4.2%, 53.7%)
CIE-LABlab(28.75, 49.30, -28.74)
CIE-LCHlch(28.75, 57.06, 329.76°)
OKLaboklab(40.71% 0.14 -0.0793)
OKLCHoklch(40.71% 0.161 330.5)
XYZxyz(10.7994, 5.7399, 16.1587)
Luminance0.0574 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761971 #19761E
analogous
#4C1976 #761971 #761942
triadic
#761971 #717619 #197176
tetradic
#761971 #764C19 #19761E #194276
square
#761971 #764C19 #19761E #194276
split-complementary
#761971 #427619 #19764C
monochromatic
#190518 #430E41 #761971 #A824A1 #D435CC

Accessibility & contrast

On white

9.78
#761971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#761971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761971
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761971#FFFFFF#000000##FFFFFF
##7619711.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3C73
Deuteranopia (green-blind)
#36486F
Tritanopia (blue-blind)
#7B2644
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #761971;
/* rgb */ color: rgb(118, 25, 113);
/* oklch */ color: oklch(40.7% 0.161 330.5);
Tailwind
colors: {
  custom: {
    50: '#a1619a',
    500: '#761971',
    950: '#000000',
  },
}
SCSS
$custom: #761971;
$custom-light: #a1619a;
$custom-dark: #000000;
JSON
{
  "hex": "#761971",
  "rgb": {
    "r": 118,
    "g": 25,
    "b": 113
  },
  "hsl": {
    "h": 303.226,
    "s": 65.035,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40708,
    "c": 0.16093,
    "h": 330.5
  },
  "luminance": 0.05739
}

Semantic roles & 50–950 ramp

primary
#761971
secondary
#40AB46
accent
#E84940
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #761971

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

Preview Lab → · Contrast checker → · Palette generator →

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