#76229E#76229E

#76229E is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.6% C 0.191 H 311.8°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#76229E
RGBrgb(118, 34, 158)
HSLhsl(281, 65%, 38%)
HSVhsv(281, 78%, 62%)
CMYKcmyk(25.3%, 78.5%, 0%, 38%)
CIE-LABlab(32.84, 54.87, -50.18)
CIE-LCHlch(32.84, 74.35, 317.56°)
OKLaboklab(44.58% 0.1271 -0.1421)
OKLCHoklch(44.58% 0.191 311.8)
XYZxyz(14.2136, 7.4646, 33.0332)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76229E #4A9E22
analogous
#38229E #76229E #9E2288
triadic
#76229E #9E7622 #229E76
tetradic
#76229E #9E3822 #4A9E22 #22889E
square
#76229E #9E3822 #4A9E22 #22889E
split-complementary
#76229E #889E22 #229E38
monochromatic
#2B0C39 #50176C #76229E #9C2DD0 #B45EDC

Accessibility & contrast

On white

8.42
#76229E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#76229E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76229E
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76229E#FFFFFF#000000##FFFFFF
##76229E1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A1
Deuteranopia (green-blind)
#084F9B
Tritanopia (blue-blind)
#714060
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #76229e;
/* rgb */ color: rgb(118, 34, 158);
/* oklch */ color: oklch(44.6% 0.191 311.8);
Tailwind
colors: {
  custom: {
    50: '#a267bb',
    500: '#76229e',
    950: '#000000',
  },
}
SCSS
$custom: #76229e;
$custom-light: #a267bb;
$custom-dark: #000000;
JSON
{
  "hex": "#76229e",
  "rgb": {
    "r": 118,
    "g": 34,
    "b": 158
  },
  "hsl": {
    "h": 280.645,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.44575,
    "c": 0.19068,
    "h": 311.8
  },
  "luminance": 0.07464
}

Semantic roles & 50–950 ramp

primary
#76229E
secondary
#7CC15B
accent
#E84076
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #76229E

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

Preview Lab → · Contrast checker → · Palette generator →

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