#76229F#76229F

#76229F is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.7% C 0.192 H 311.5°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#76229F
RGBrgb(118, 34, 159)
HSLhsl(280, 65%, 38%)
HSVhsv(280, 79%, 62%)
CMYKcmyk(25.8%, 78.6%, 0%, 37.6%)
CIE-LABlab(32.92, 55.08, -50.66)
CIE-LCHlch(32.92, 74.84, 317.39°)
OKLaboklab(44.65% 0.1269 -0.1435)
OKLCHoklch(44.65% 0.192 311.5)
XYZxyz(14.3001, 7.4992, 33.4884)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76229F #4B9F22
analogous
#37229F #76229F #9F2289
triadic
#76229F #9F7622 #229F76
tetradic
#76229F #9F3722 #4B9F22 #22899F
square
#76229F #9F3722 #4B9F22 #22899F
split-complementary
#76229F #899F22 #229F37
monochromatic
#2B0C3A #51176D #76229F #9B2DD1 #B35FDD

Accessibility & contrast

On white

8.40
#76229F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#76229F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76229F
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76229F#FFFFFF#000000##FFFFFF
##76229F1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#044F9C
Tritanopia (blue-blind)
#714060
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #76229f;
/* rgb */ color: rgb(118, 34, 159);
/* oklch */ color: oklch(44.7% 0.192 311.5);
Tailwind
colors: {
  custom: {
    50: '#a267bc',
    500: '#76229f',
    950: '#000000',
  },
}
SCSS
$custom: #76229f;
$custom-light: #a267bc;
$custom-dark: #000000;
JSON
{
  "hex": "#76229f",
  "rgb": {
    "r": 118,
    "g": 34,
    "b": 159
  },
  "hsl": {
    "h": 280.32,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44651,
    "c": 0.1916,
    "h": 311.5
  },
  "luminance": 0.07499
}

Semantic roles & 50–950 ramp

primary
#76229F
secondary
#7DC15B
accent
#E84077
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #76229F

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

Preview Lab → · Contrast checker → · Palette generator →

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