#76229B#76229B

#76229B is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.3% C 0.188 H 312.8°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#76229B
RGBrgb(118, 34, 155)
HSLhsl(282, 64%, 37%)
HSVhsv(282, 78%, 61%)
CMYKcmyk(23.9%, 78.1%, 0%, 39.2%)
CIE-LABlab(32.62, 54.24, -48.72)
CIE-LCHlch(32.62, 72.90, 318.07°)
OKLaboklab(44.35% 0.1277 -0.1378)
OKLCHoklch(44.35% 0.188 312.8)
XYZxyz(13.9586, 7.3626, 31.6898)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76229B #479B22
analogous
#3A229B #76229B #9B2284
triadic
#76229B #9B7622 #229B76
tetradic
#76229B #9B3A22 #479B22 #22849B
square
#76229B #9B3A22 #479B22 #22849B
split-complementary
#76229B #849B22 #229B3A
monochromatic
#2A0C37 #501769 #76229B #9C2DCD #B45CDB

Accessibility & contrast

On white

8.49
#76229B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #76229B
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76229B#FFFFFF#000000##FFFFFF
##76229B1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499E
Deuteranopia (green-blind)
#114E98
Tritanopia (blue-blind)
#723F5E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #76229b;
/* rgb */ color: rgb(118, 34, 155);
/* oklch */ color: oklch(44.3% 0.188 312.8);
Tailwind
colors: {
  custom: {
    50: '#a267b9',
    500: '#76229b',
    950: '#000000',
  },
}
SCSS
$custom: #76229b;
$custom-light: #a267b9;
$custom-dark: #000000;
JSON
{
  "hex": "#76229b",
  "rgb": {
    "r": 118,
    "g": 34,
    "b": 155
  },
  "hsl": {
    "h": 281.653,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44347,
    "c": 0.18789,
    "h": 312.8
  },
  "luminance": 0.07362
}

Semantic roles & 50–950 ramp

primary
#76229B
secondary
#78C059
accent
#E74174
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #76229B

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

Preview Lab → · Contrast checker → · Palette generator →

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