#76227F#76227F

#76227F is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.4% C 0.162 H 323.7°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#76227F
RGBrgb(118, 34, 127)
HSLhsl(294, 58%, 32%)
HSVhsv(294, 73%, 50%)
CMYKcmyk(7.1%, 73.2%, 0%, 50.2%)
CIE-LABlab(30.71, 48.62, -34.49)
CIE-LCHlch(30.71, 59.61, 324.65°)
OKLaboklab(42.38% 0.1309 -0.0961)
OKLCHoklch(42.38% 0.162 323.7)
XYZxyz(11.8737, 6.5286, 20.7093)
Luminance0.0653 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76227F #2B7F22
analogous
#48227F #76227F #7F225A
triadic
#76227F #7F7622 #227F76
tetradic
#76227F #7F4822 #2B7F22 #225A7F
square
#76227F #7F4822 #2B7F22 #225A7F
split-complementary
#76227F #5A7F22 #227F48
monochromatic
#1C081E #49154F #76227F #A32FAF #C24CCF

Accessibility & contrast

On white

9.11
#76227F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#76227F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76227F
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76227F#FFFFFF#000000##FFFFFF
##76227F1.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034282
Deuteranopia (green-blind)
#324C7D
Tritanopia (blue-blind)
#78324E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #76227f;
/* rgb */ color: rgb(118, 34, 127);
/* oklch */ color: oklch(42.4% 0.162 323.7);
Tailwind
colors: {
  custom: {
    50: '#a166a4',
    500: '#76227f',
    950: '#000000',
  },
}
SCSS
$custom: #76227f;
$custom-light: #a166a4;
$custom-dark: #000000;
JSON
{
  "hex": "#76227f",
  "rgb": {
    "r": 118,
    "g": 34,
    "b": 127
  },
  "hsl": {
    "h": 294.194,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42383,
    "c": 0.16239,
    "h": 323.7
  },
  "luminance": 0.06528
}

Semantic roles & 50–950 ramp

primary
#76227F
secondary
#55B24B
accent
#E14756
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #76227F

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

Preview Lab → · Contrast checker → · Palette generator →

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