#76226D#76226D

#76226D is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.3% C 0.147 H 332.5°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#76226D
RGBrgb(118, 34, 109)
HSLhsl(306, 55%, 30%)
HSVhsv(306, 71%, 46%)
CMYKcmyk(0%, 71.2%, 7.6%, 53.7%)
CIE-LABlab(29.66, 45.37, -24.73)
CIE-LCHlch(29.66, 51.67, 331.41°)
OKLaboklab(41.3% 0.1304 -0.0678)
OKLCHoklch(41.3% 0.147 332.5)
XYZxyz(10.8036, 6.1006, 15.0736)
Luminance0.0610 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76226D #22762B
analogous
#552276 #76226D #762243
triadic
#76226D #6D7622 #226D76
tetradic
#76226D #765522 #22762B #224376
square
#76226D #765522 #22762B #224376
split-complementary
#76226D #437622 #227655
monochromatic
#180716 #461441 #76226D #A63099 #CA48BC

Accessibility & contrast

On white

9.46
#76226D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#76226D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76226D
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76226D#FFFFFF#000000##FFFFFF
##76226D1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3E6F
Deuteranopia (green-blind)
#3C4A6B
Tritanopia (blue-blind)
#7B2A44
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #76226d;
/* rgb */ color: rgb(118, 34, 109);
/* oklch */ color: oklch(41.3% 0.147 332.5);
Tailwind
colors: {
  custom: {
    50: '#a06597',
    500: '#76226d',
    950: '#000000',
  },
}
SCSS
$custom: #76226d;
$custom-light: #a06597;
$custom-dark: #000000;
JSON
{
  "hex": "#76226d",
  "rgb": {
    "r": 118,
    "g": 34,
    "b": 109
  },
  "hsl": {
    "h": 306.429,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41295,
    "c": 0.147,
    "h": 332.5
  },
  "luminance": 0.061
}

Semantic roles & 50–950 ramp

primary
#76226D
secondary
#4BA955
accent
#DF5949
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #76226D

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

Preview Lab → · Contrast checker → · Palette generator →

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