#761974#761974

#761974 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.9% C 0.163 H 329.0°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#761974
RGBrgb(118, 25, 116)
HSLhsl(301, 65%, 28%)
HSVhsv(301, 79%, 46%)
CMYKcmyk(0%, 78.8%, 1.7%, 53.7%)
CIE-LABlab(28.92, 49.81, -30.37)
CIE-LCHlch(28.92, 58.34, 328.63°)
OKLaboklab(40.89% 0.14 -0.0841)
OKLCHoklch(40.89% 0.163 329)
XYZxyz(10.9711, 5.8086, 17.0629)
Luminance0.0581 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761974 #19761B
analogous
#491976 #761974 #761945
triadic
#761974 #747619 #197476
tetradic
#761974 #764919 #19761B #194576
square
#761974 #764919 #19761B #194576
split-complementary
#761974 #457619 #197649
monochromatic
#190519 #430E42 #761974 #A824A6 #D435D1

Accessibility & contrast

On white

9.72
#761974 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#761974 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761974
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761974#FFFFFF#000000##FFFFFF
##7619741.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073C76
Deuteranopia (green-blind)
#354872
Tritanopia (blue-blind)
#7A2746
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #761974;
/* rgb */ color: rgb(118, 25, 116);
/* oklch */ color: oklch(40.9% 0.163 329.0);
Tailwind
colors: {
  custom: {
    50: '#a1629c',
    500: '#761974',
    950: '#000000',
  },
}
SCSS
$custom: #761974;
$custom-light: #a1629c;
$custom-dark: #000000;
JSON
{
  "hex": "#761974",
  "rgb": {
    "r": 118,
    "g": 25,
    "b": 116
  },
  "hsl": {
    "h": 301.29,
    "s": 65.035,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40892,
    "c": 0.16332,
    "h": 329
  },
  "luminance": 0.05808
}

Semantic roles & 50–950 ramp

primary
#761974
secondary
#40AB42
accent
#E84340
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #761974

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

Preview Lab → · Contrast checker → · Palette generator →

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