#76227A#76227A

#76227A is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.1% C 0.158 H 326.0°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#76227A
RGBrgb(118, 34, 122)
HSLhsl(297, 56%, 31%)
HSVhsv(297, 72%, 48%)
CMYKcmyk(3.3%, 72.1%, 0%, 52.2%)
CIE-LABlab(30.40, 47.68, -31.83)
CIE-LCHlch(30.40, 57.33, 326.28°)
OKLaboklab(42.07% 0.131 -0.0884)
OKLCHoklch(42.07% 0.158 326)
XYZxyz(11.5559, 6.4015, 19.0355)
Luminance0.0640 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76227A #267A22
analogous
#4A227A #76227A #7A2252
triadic
#76227A #7A7622 #227A76
tetradic
#76227A #7A4A22 #267A22 #22527A
square
#76227A #7A4A22 #267A22 #22527A
split-complementary
#76227A #527A22 #227A4A
monochromatic
#19071A #48154A #76227A #A42FAA #C74ACD

Accessibility & contrast

On white

9.21
#76227A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#76227A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76227A
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76227A#FFFFFF#000000##FFFFFF
##76227A1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E417C
Deuteranopia (green-blind)
#354B78
Tritanopia (blue-blind)
#79304B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #76227a;
/* rgb */ color: rgb(118, 34, 122);
/* oklch */ color: oklch(42.1% 0.158 326.0);
Tailwind
colors: {
  custom: {
    50: '#a066a1',
    500: '#76227a',
    950: '#000000',
  },
}
SCSS
$custom: #76227a;
$custom-light: #a066a1;
$custom-dark: #000000;
JSON
{
  "hex": "#76227a",
  "rgb": {
    "r": 118,
    "g": 34,
    "b": 122
  },
  "hsl": {
    "h": 297.273,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42066,
    "c": 0.158,
    "h": 326
  },
  "luminance": 0.06401
}

Semantic roles & 50–950 ramp

primary
#76227A
secondary
#4FAD4B
accent
#E0484F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #76227A

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

Preview Lab → · Contrast checker → · Palette generator →

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