#76228F#76228F

#76228F is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.5% C 0.177 H 317.1°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#76228F
RGBrgb(118, 34, 143)
HSLhsl(286, 62%, 35%)
HSVhsv(286, 76%, 56%)
CMYKcmyk(17.5%, 76.2%, 0%, 43.9%)
CIE-LABlab(31.76, 51.76, -42.75)
CIE-LCHlch(31.76, 67.13, 320.44°)
OKLaboklab(43.47% 0.1296 -0.1203)
OKLCHoklch(43.47% 0.177 317.1)
XYZxyz(13.0004, 6.9793, 26.6436)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76228F #3B8F22
analogous
#40228F #76228F #8F2271
triadic
#76228F #8F7622 #228F76
tetradic
#76228F #8F4022 #3B8F22 #22718F
square
#76228F #8F4022 #3B8F22 #22718F
split-complementary
#76228F #718F22 #228F40
monochromatic
#240A2C #4D165E #76228F #9F2EC0 #B955D7

Accessibility & contrast

On white

8.77
#76228F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#76228F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76228F
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76228F#FFFFFF#000000##FFFFFF
##76228F1.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#244D8D
Tritanopia (blue-blind)
#753957
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #76228f;
/* rgb */ color: rgb(118, 34, 143);
/* oklch */ color: oklch(43.5% 0.177 317.1);
Tailwind
colors: {
  custom: {
    50: '#a167b0',
    500: '#76228f',
    950: '#000000',
  },
}
SCSS
$custom: #76228f;
$custom-light: #a167b0;
$custom-dark: #000000;
JSON
{
  "hex": "#76228f",
  "rgb": {
    "r": 118,
    "g": 34,
    "b": 143
  },
  "hsl": {
    "h": 286.239,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43468,
    "c": 0.17683,
    "h": 317.1
  },
  "luminance": 0.06979
}

Semantic roles & 50–950 ramp

primary
#76228F
secondary
#6ABA52
accent
#E54368
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #76228F

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

Preview Lab → · Contrast checker → · Palette generator →

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