#76226B#76226B

#76226B is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.2% C 0.145 H 333.6°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#76226B
RGBrgb(118, 34, 107)
HSLhsl(308, 55%, 30%)
HSVhsv(308, 71%, 46%)
CMYKcmyk(0%, 71.2%, 9.3%, 53.7%)
CIE-LABlab(29.56, 45.03, -23.61)
CIE-LCHlch(29.56, 50.85, 332.33°)
OKLaboklab(41.18% 0.1302 -0.0646)
OKLCHoklch(41.18% 0.145 333.6)
XYZxyz(10.6971, 6.0580, 14.5130)
Luminance0.0606 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76226B #22762D
analogous
#572276 #76226B #762241
triadic
#76226B #6B7622 #226B76
tetradic
#76226B #765722 #22762D #224176
square
#76226B #765722 #22762D #224176
split-complementary
#76226B #417622 #227657
monochromatic
#180716 #461440 #76226B #A63096 #CA48B9

Accessibility & contrast

On white

9.50
#76226B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#76226B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76226B
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76226B#FFFFFF#000000##FFFFFF
##76226B1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203E6D
Deuteranopia (green-blind)
#3D4A69
Tritanopia (blue-blind)
#7C2943
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #76226b;
/* rgb */ color: rgb(118, 34, 107);
/* oklch */ color: oklch(41.2% 0.145 333.6);
Tailwind
colors: {
  custom: {
    50: '#a06595',
    500: '#76226b',
    950: '#000000',
  },
}
SCSS
$custom: #76226b;
$custom-light: #a06595;
$custom-dark: #000000;
JSON
{
  "hex": "#76226b",
  "rgb": {
    "r": 118,
    "g": 34,
    "b": 107
  },
  "hsl": {
    "h": 307.857,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41183,
    "c": 0.14538,
    "h": 333.6
  },
  "luminance": 0.06057
}

Semantic roles & 50–950 ramp

primary
#76226B
secondary
#4BA957
accent
#DF5D49
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #76226B

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

Preview Lab → · Contrast checker → · Palette generator →

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