#76229A#76229A

#76229A is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.3% C 0.187 H 313.2°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#76229A
RGBrgb(118, 34, 154)
HSLhsl(282, 64%, 37%)
HSVhsv(282, 78%, 60%)
CMYKcmyk(23.4%, 77.9%, 0%, 39.6%)
CIE-LABlab(32.54, 54.03, -48.23)
CIE-LCHlch(32.54, 72.42, 318.25°)
OKLaboklab(44.27% 0.1279 -0.1364)
OKLCHoklch(44.27% 0.187 313.2)
XYZxyz(13.8749, 7.3291, 31.2494)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76229A #469A22
analogous
#3A229A #76229A #9A2282
triadic
#76229A #9A7622 #229A76
tetradic
#76229A #9A3A22 #469A22 #22829A
square
#76229A #9A3A22 #469A22 #22829A
split-complementary
#76229A #829A22 #229A3A
monochromatic
#290C36 #501768 #76229A #9C2DCC #B55BDB

Accessibility & contrast

On white

8.52
#76229A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#76229A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76229A
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76229A#FFFFFF#000000##FFFFFF
##76229A1.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489D
Deuteranopia (green-blind)
#134E97
Tritanopia (blue-blind)
#723E5D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #76229a;
/* rgb */ color: rgb(118, 34, 154);
/* oklch */ color: oklch(44.3% 0.187 313.2);
Tailwind
colors: {
  custom: {
    50: '#a267b8',
    500: '#76229a',
    950: '#000000',
  },
}
SCSS
$custom: #76229a;
$custom-light: #a267b8;
$custom-dark: #000000;
JSON
{
  "hex": "#76229a",
  "rgb": {
    "r": 118,
    "g": 34,
    "b": 154
  },
  "hsl": {
    "h": 282,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44272,
    "c": 0.18696,
    "h": 313.2
  },
  "luminance": 0.07329
}

Semantic roles & 50–950 ramp

primary
#76229A
secondary
#77BF58
accent
#E74173
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #76229A

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

Preview Lab → · Contrast checker → · Palette generator →

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