#761687#761687

#761687 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.9% C 0.182 H 320.9°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#761687
RGBrgb(118, 22, 135)
HSLhsl(291, 72%, 31%)
HSVhsv(291, 84%, 53%)
CMYKcmyk(12.6%, 83.7%, 0%, 47.1%)
CIE-LABlab(29.85, 54.11, -40.86)
CIE-LCHlch(29.85, 67.81, 322.94°)
OKLaboklab(41.94% 0.1409 -0.1147)
OKLCHoklch(41.94% 0.182 320.9)
XYZxyz(12.1308, 6.1753, 23.4700)
Luminance0.0617 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761687 #278716
analogous
#3D1687 #761687 #87165F
triadic
#761687 #877616 #168776
tetradic
#761687 #873D16 #278716 #165F87
square
#761687 #873D16 #278716 #165F87
split-complementary
#761687 #5F8716 #16873D
monochromatic
#1A051E #480D52 #761687 #A41FBC #C639DF

Accessibility & contrast

On white

9.40
#761687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#761687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761687
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761687#FFFFFF#000000##FFFFFF
##7616871.009.402.249.40
#FFFFFF9.401.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408A
Deuteranopia (green-blind)
#254A85
Tritanopia (blue-blind)
#773050
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #761687;
/* rgb */ color: rgb(118, 22, 135);
/* oklch */ color: oklch(41.9% 0.182 320.9);
Tailwind
colors: {
  custom: {
    50: '#a161ab',
    500: '#761687',
    950: '#000000',
  },
}
SCSS
$custom: #761687;
$custom-light: #a161ab;
$custom-dark: #000000;
JSON
{
  "hex": "#761687",
  "rgb": {
    "r": 118,
    "g": 22,
    "b": 135
  },
  "hsl": {
    "h": 290.973,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41943,
    "c": 0.18169,
    "h": 320.9
  },
  "luminance": 0.06175
}

Semantic roles & 50–950 ramp

primary
#761687
secondary
#51BB3E
accent
#EF3954
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #761687

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

Preview Lab → · Contrast checker → · Palette generator →

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