#76229D#76229D

#76229D is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.5% C 0.190 H 312.2°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#76229D
RGBrgb(118, 34, 157)
HSLhsl(281, 64%, 37%)
HSVhsv(281, 78%, 62%)
CMYKcmyk(24.8%, 78.3%, 0%, 38.4%)
CIE-LABlab(32.77, 54.66, -49.69)
CIE-LCHlch(32.77, 73.87, 317.72°)
OKLaboklab(44.5% 0.1273 -0.1407)
OKLCHoklch(44.5% 0.19 312.2)
XYZxyz(14.1279, 7.4303, 32.5817)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76229D #499D22
analogous
#39229D #76229D #9D2286
triadic
#76229D #9D7622 #229D76
tetradic
#76229D #9D3922 #499D22 #22869D
square
#76229D #9D3922 #499D22 #22869D
split-complementary
#76229D #869D22 #229D39
monochromatic
#2A0C38 #50176B #76229D #9C2DCF #B45DDC

Accessibility & contrast

On white

8.45
#76229D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #76229D
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76229D#FFFFFF#000000##FFFFFF
##76229D1.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A0
Deuteranopia (green-blind)
#0B4F9A
Tritanopia (blue-blind)
#713F5F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #76229d;
/* rgb */ color: rgb(118, 34, 157);
/* oklch */ color: oklch(44.5% 0.190 312.2);
Tailwind
colors: {
  custom: {
    50: '#a267bb',
    500: '#76229d',
    950: '#000000',
  },
}
SCSS
$custom: #76229d;
$custom-light: #a267bb;
$custom-dark: #000000;
JSON
{
  "hex": "#76229d",
  "rgb": {
    "r": 118,
    "g": 34,
    "b": 157
  },
  "hsl": {
    "h": 280.976,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.44498,
    "c": 0.18975,
    "h": 312.2
  },
  "luminance": 0.0743
}

Semantic roles & 50–950 ramp

primary
#76229D
secondary
#7BC15A
accent
#E74075
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #76229D

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

Preview Lab → · Contrast checker → · Palette generator →

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