#76227D#76227D

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

Color values

HEX#76227D
RGBrgb(118, 34, 125)
HSLhsl(295, 57%, 31%)
HSVhsv(295, 73%, 49%)
CMYKcmyk(5.6%, 72.8%, 0%, 51%)
CIE-LABlab(30.59, 48.24, -33.43)
CIE-LCHlch(30.59, 58.69, 325.28°)
OKLaboklab(42.26% 0.131 -0.093)
OKLCHoklch(42.26% 0.161 324.6)
XYZxyz(11.7446, 6.4770, 20.0296)
Luminance0.0648 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76227D #297D22
analogous
#48227D #76227D #7D2256
triadic
#76227D #7D7622 #227D76
tetradic
#76227D #7D4822 #297D22 #22567D
square
#76227D #7D4822 #297D22 #22567D
split-complementary
#76227D #567D22 #227D48
monochromatic
#1B081D #49154D #76227D #A32FAD #C44BCE

Accessibility & contrast

On white

9.15
#76227D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #76227D
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76227D#FFFFFF#000000##FFFFFF
##76227D1.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084280
Deuteranopia (green-blind)
#334B7B
Tritanopia (blue-blind)
#79314D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #76227d;
/* rgb */ color: rgb(118, 34, 125);
/* oklch */ color: oklch(42.3% 0.161 324.6);
Tailwind
colors: {
  custom: {
    50: '#a166a3',
    500: '#76227d',
    950: '#000000',
  },
}
SCSS
$custom: #76227d;
$custom-light: #a166a3;
$custom-dark: #000000;
JSON
{
  "hex": "#76227d",
  "rgb": {
    "r": 118,
    "g": 34,
    "b": 125
  },
  "hsl": {
    "h": 295.385,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42255,
    "c": 0.16063,
    "h": 324.6
  },
  "luminance": 0.06476
}

Semantic roles & 50–950 ramp

primary
#76227D
secondary
#53B04B
accent
#E04753
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #76227D

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

Preview Lab → · Contrast checker → · Palette generator →

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