#76227E#76227E

#76227E is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.3% C 0.162 H 324.2°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#76227E
RGBrgb(118, 34, 126)
HSLhsl(295, 58%, 31%)
HSVhsv(295, 73%, 49%)
CMYKcmyk(6.3%, 73%, 0%, 50.6%)
CIE-LABlab(30.65, 48.43, -33.96)
CIE-LCHlch(30.65, 59.15, 324.96°)
OKLaboklab(42.32% 0.1309 -0.0946)
OKLCHoklch(42.32% 0.162 324.2)
XYZxyz(11.8088, 6.5027, 20.3678)
Luminance0.0650 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76227E #2A7E22
analogous
#48227E #76227E #7E2258
triadic
#76227E #7E7622 #227E76
tetradic
#76227E #7E4822 #2A7E22 #22587E
square
#76227E #7E4822 #2A7E22 #22587E
split-complementary
#76227E #587E22 #227E48
monochromatic
#1C081E #49154E #76227E #A32FAE #C34CCF

Accessibility & contrast

On white

9.13
#76227E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#76227E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76227E
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76227E#FFFFFF#000000##FFFFFF
##76227E1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064281
Deuteranopia (green-blind)
#334C7C
Tritanopia (blue-blind)
#78324E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #76227e;
/* rgb */ color: rgb(118, 34, 126);
/* oklch */ color: oklch(42.3% 0.162 324.2);
Tailwind
colors: {
  custom: {
    50: '#a166a4',
    500: '#76227e',
    950: '#000000',
  },
}
SCSS
$custom: #76227e;
$custom-light: #a166a4;
$custom-dark: #000000;
JSON
{
  "hex": "#76227e",
  "rgb": {
    "r": 118,
    "g": 34,
    "b": 126
  },
  "hsl": {
    "h": 294.783,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42319,
    "c": 0.1615,
    "h": 324.2
  },
  "luminance": 0.06502
}

Semantic roles & 50–950 ramp

primary
#76227E
secondary
#54B14B
accent
#E14754
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #76227E

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

Preview Lab → · Contrast checker → · Palette generator →

#76227E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva