#761781#761781

#761781 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.6% C 0.176 H 323.3°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#761781
RGBrgb(118, 23, 129)
HSLhsl(294, 70%, 30%)
HSVhsv(294, 82%, 51%)
CMYKcmyk(8.5%, 82.2%, 0%, 49.4%)
CIE-LABlab(29.54, 52.72, -37.61)
CIE-LCHlch(29.54, 64.76, 324.49°)
OKLaboklab(41.59% 0.1409 -0.1052)
OKLCHoklch(41.59% 0.176 323.3)
XYZxyz(11.7397, 6.0501, 21.3141)
Luminance0.0605 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761781 #228117
analogous
#411781 #761781 #811757
triadic
#761781 #817617 #178176
tetradic
#761781 #814117 #228117 #175781
square
#761781 #814117 #228117 #175781
split-complementary
#761781 #578117 #178141
monochromatic
#18051A #460E4D #761781 #A620B5 #CA37DB

Accessibility & contrast

On white

9.50
#761781 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#761781 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761781
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761781#FFFFFF#000000##FFFFFF
##7617811.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #761781;
/* rgb */ color: rgb(118, 23, 129);
/* oklch */ color: oklch(41.6% 0.176 323.3);
Tailwind
colors: {
  custom: {
    50: '#a162a6',
    500: '#761781',
    950: '#000000',
  },
}
SCSS
$custom: #761781;
$custom-light: #a162a6;
$custom-dark: #000000;
JSON
{
  "hex": "#761781",
  "rgb": {
    "r": 118,
    "g": 23,
    "b": 129
  },
  "hsl": {
    "h": 293.774,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41592,
    "c": 0.17585,
    "h": 323.3
  },
  "luminance": 0.06049
}

Semantic roles & 50–950 ramp

primary
#761781
secondary
#4BB53E
accent
#ED3B4E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #761781

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

Preview Lab → · Contrast checker → · Palette generator →

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