#76298D#76298D

#76298D is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.0% C 0.166 H 317.4°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#76298D
RGBrgb(118, 41, 141)
HSLhsl(286, 55%, 36%)
HSVhsv(286, 71%, 55%)
CMYKcmyk(16.3%, 70.9%, 0%, 44.7%)
CIE-LABlab(32.62, 48.54, -40.14)
CIE-LCHlch(32.62, 62.99, 320.41°)
OKLaboklab(44.03% 0.1225 -0.1127)
OKLCHoklch(44.03% 0.166 317.4)
XYZxyz(13.0712, 7.3611, 25.9264)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76298D #408D29
analogous
#44298D #76298D #8D2972
triadic
#76298D #8D7629 #298D76
tetradic
#76298D #8D4429 #408D29 #29728D
square
#76298D #8D4429 #408D29 #29728D
split-complementary
#76298D #728D29 #298D44
monochromatic
#270D2E #4E1B5E #76298D #9E37BC #B760D1

Accessibility & contrast

On white

8.49
#76298D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#76298D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76298D
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76298D#FFFFFF#000000##FFFFFF
##76298D1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#2C4F8B
Tritanopia (blue-blind)
#753C58
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #76298d;
/* rgb */ color: rgb(118, 41, 141);
/* oklch */ color: oklch(44.0% 0.166 317.4);
Tailwind
colors: {
  custom: {
    50: '#a16aaf',
    500: '#76298d',
    950: '#000000',
  },
}
SCSS
$custom: #76298d;
$custom-light: #a16aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#76298d",
  "rgb": {
    "r": 118,
    "g": 41,
    "b": 141
  },
  "hsl": {
    "h": 286.2,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44034,
    "c": 0.16648,
    "h": 317.4
  },
  "luminance": 0.07361
}

Semantic roles & 50–950 ramp

primary
#76298D
secondary
#70B65B
accent
#DE4A6C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #76298D

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

Preview Lab → · Contrast checker → · Palette generator →

#76298D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva