#76298B#76298B

#76298B is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.9% C 0.165 H 318.2°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#76298B
RGBrgb(118, 41, 139)
HSLhsl(287, 54%, 35%)
HSVhsv(287, 71%, 55%)
CMYKcmyk(15.1%, 70.5%, 0%, 45.5%)
CIE-LABlab(32.48, 48.12, -39.12)
CIE-LCHlch(32.48, 62.02, 320.89°)
OKLaboklab(43.9% 0.1227 -0.1097)
OKLCHoklch(43.9% 0.165 318.2)
XYZxyz(12.9237, 7.3021, 25.1498)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76298B #3E8B29
analogous
#45298B #76298B #8B296F
triadic
#76298B #8B7629 #298B76
tetradic
#76298B #8B4529 #3E8B29 #296F8B
square
#76298B #8B4529 #3E8B29 #296F8B
split-complementary
#76298B #6F8B29 #298B45
monochromatic
#260D2C #4E1B5C #76298B #9E37BA #B75FD0

Accessibility & contrast

On white

8.54
#76298B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#76298B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76298B
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76298B#FFFFFF#000000##FFFFFF
##76298B1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478E
Deuteranopia (green-blind)
#2D4F89
Tritanopia (blue-blind)
#763C57
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #76298b;
/* rgb */ color: rgb(118, 41, 139);
/* oklch */ color: oklch(43.9% 0.165 318.2);
Tailwind
colors: {
  custom: {
    50: '#a16aad',
    500: '#76298b',
    950: '#000000',
  },
}
SCSS
$custom: #76298b;
$custom-light: #a16aad;
$custom-dark: #000000;
JSON
{
  "hex": "#76298b",
  "rgb": {
    "r": 118,
    "g": 41,
    "b": 139
  },
  "hsl": {
    "h": 287.143,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43899,
    "c": 0.16456,
    "h": 318.2
  },
  "luminance": 0.07302
}

Semantic roles & 50–950 ramp

primary
#76298B
secondary
#6EB55B
accent
#DE4A6A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #76298B

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

Preview Lab → · Contrast checker → · Palette generator →

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