#76226F#76226F

#76226F is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.4% C 0.149 H 331.5°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#76226F
RGBrgb(118, 34, 111)
HSLhsl(305, 55%, 30%)
HSVhsv(305, 71%, 46%)
CMYKcmyk(0%, 71.2%, 5.9%, 53.7%)
CIE-LABlab(29.77, 45.72, -25.84)
CIE-LCHlch(29.77, 52.51, 330.52°)
OKLaboklab(41.41% 0.1306 -0.071)
OKLCHoklch(41.41% 0.149 331.5)
XYZxyz(10.9125, 6.1442, 15.6470)
Luminance0.0614 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76226F #227629
analogous
#532276 #76226F #762245
triadic
#76226F #6F7622 #226F76
tetradic
#76226F #765322 #227629 #224576
square
#76226F #765322 #227629 #224576
split-complementary
#76226F #457622 #227653
monochromatic
#180716 #461442 #76226F #A6309C #CA48BF

Accessibility & contrast

On white

9.42
#76226F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#76226F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76226F
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76226F#FFFFFF#000000##FFFFFF
##76226F1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3F71
Deuteranopia (green-blind)
#3B4A6D
Tritanopia (blue-blind)
#7B2B45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #76226f;
/* rgb */ color: rgb(118, 34, 111);
/* oklch */ color: oklch(41.4% 0.149 331.5);
Tailwind
colors: {
  custom: {
    50: '#a06598',
    500: '#76226f',
    950: '#000000',
  },
}
SCSS
$custom: #76226f;
$custom-light: #a06598;
$custom-dark: #000000;
JSON
{
  "hex": "#76226f",
  "rgb": {
    "r": 118,
    "g": 34,
    "b": 111
  },
  "hsl": {
    "h": 305,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41409,
    "c": 0.14864,
    "h": 331.5
  },
  "luminance": 0.06143
}

Semantic roles & 50–950 ramp

primary
#76226F
secondary
#4BA953
accent
#DF5649
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #76226F

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

Preview Lab → · Contrast checker → · Palette generator →

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