#761985#761985

#761985 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 42.0% C 0.177 H 321.5°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#761985
RGBrgb(118, 25, 133)
HSLhsl(292, 68%, 31%)
HSVhsv(292, 81%, 52%)
CMYKcmyk(11.3%, 81.2%, 0%, 47.8%)
CIE-LABlab(30.01, 52.86, -39.36)
CIE-LCHlch(30.01, 65.91, 323.33°)
OKLaboklab(42.01% 0.1389 -0.1103)
OKLCHoklch(42.01% 0.177 321.5)
XYZxyz(12.0520, 6.2410, 22.7556)
Luminance0.0624 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761985 #288519
analogous
#401985 #761985 #85195E
triadic
#761985 #857619 #198576
tetradic
#761985 #854019 #288519 #195E85
square
#761985 #854019 #288519 #195E85
split-complementary
#761985 #5E8519 #198540
monochromatic
#1B061E #480F51 #761985 #A423B9 #C53EDB

Accessibility & contrast

On white

9.34
#761985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#761985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761985
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761985#FFFFFF#000000##FFFFFF
##7619851.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004088
Deuteranopia (green-blind)
#284A83
Tritanopia (blue-blind)
#77304F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #761985;
/* rgb */ color: rgb(118, 25, 133);
/* oklch */ color: oklch(42.0% 0.177 321.5);
Tailwind
colors: {
  custom: {
    50: '#a162a9',
    500: '#761985',
    950: '#000000',
  },
}
SCSS
$custom: #761985;
$custom-light: #a162a9;
$custom-dark: #000000;
JSON
{
  "hex": "#761985",
  "rgb": {
    "r": 118,
    "g": 25,
    "b": 133
  },
  "hsl": {
    "h": 291.667,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42013,
    "c": 0.17733,
    "h": 321.5
  },
  "luminance": 0.0624
}

Semantic roles & 50–950 ramp

primary
#761985
secondary
#52B941
accent
#EB3D55
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #761985

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

Preview Lab → · Contrast checker → · Palette generator →

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