#761981#761981

#761981 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.7% C 0.174 H 323.2°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#761981
RGBrgb(118, 25, 129)
HSLhsl(294, 68%, 30%)
HSVhsv(294, 81%, 51%)
CMYKcmyk(8.5%, 80.6%, 0%, 49.4%)
CIE-LABlab(29.74, 52.12, -37.28)
CIE-LCHlch(29.74, 64.08, 324.42°)
OKLaboklab(41.74% 0.1393 -0.1042)
OKLCHoklch(41.74% 0.174 323.2)
XYZxyz(11.7809, 6.1325, 21.3278)
Luminance0.0613 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761981 #248119
analogous
#421981 #761981 #811958
triadic
#761981 #817619 #198176
tetradic
#761981 #814219 #248119 #195881
square
#761981 #814219 #248119 #195881
split-complementary
#761981 #588119 #198142
monochromatic
#18051A #470F4E #761981 #A523B4 #C83BD9

Accessibility & contrast

On white

9.43
#761981 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#761981 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761981
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761981#FFFFFF#000000##FFFFFF
##7619811.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F84
Deuteranopia (green-blind)
#2C4A7F
Tritanopia (blue-blind)
#782E4D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #761981;
/* rgb */ color: rgb(118, 25, 129);
/* oklch */ color: oklch(41.7% 0.174 323.2);
Tailwind
colors: {
  custom: {
    50: '#a162a6',
    500: '#761981',
    950: '#000000',
  },
}
SCSS
$custom: #761981;
$custom-light: #a162a6;
$custom-dark: #000000;
JSON
{
  "hex": "#761981",
  "rgb": {
    "r": 118,
    "g": 25,
    "b": 129
  },
  "hsl": {
    "h": 293.654,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41738,
    "c": 0.17398,
    "h": 323.2
  },
  "luminance": 0.06132
}

Semantic roles & 50–950 ramp

primary
#761981
secondary
#4DB541
accent
#EA3D50
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #761981

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

Preview Lab → · Contrast checker → · Palette generator →

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