#76227B#76227B

#76227B is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.1% C 0.159 H 325.5°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#76227B
RGBrgb(118, 34, 123)
HSLhsl(297, 57%, 31%)
HSVhsv(297, 72%, 48%)
CMYKcmyk(4.1%, 72.4%, 0%, 51.8%)
CIE-LABlab(30.46, 47.87, -32.36)
CIE-LCHlch(30.46, 57.78, 325.94°)
OKLaboklab(42.13% 0.131 -0.0899)
OKLCHoklch(42.13% 0.159 325.5)
XYZxyz(11.6181, 6.4264, 19.3635)
Luminance0.0643 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76227B #277B22
analogous
#49227B #76227B #7B2253
triadic
#76227B #7B7622 #227B76
tetradic
#76227B #7B4922 #277B22 #22537B
square
#76227B #7B4922 #277B22 #22537B
split-complementary
#76227B #537B22 #227B49
monochromatic
#1A071B #48154B #76227B #A42FAB #C64ACD

Accessibility & contrast

On white

9.19
#76227B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#76227B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76227B
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76227B#FFFFFF#000000##FFFFFF
##76227B1.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C417E
Deuteranopia (green-blind)
#354B79
Tritanopia (blue-blind)
#79304C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #76227b;
/* rgb */ color: rgb(118, 34, 123);
/* oklch */ color: oklch(42.1% 0.159 325.5);
Tailwind
colors: {
  custom: {
    50: '#a166a1',
    500: '#76227b',
    950: '#000000',
  },
}
SCSS
$custom: #76227b;
$custom-light: #a166a1;
$custom-dark: #000000;
JSON
{
  "hex": "#76227b",
  "rgb": {
    "r": 118,
    "g": 34,
    "b": 123
  },
  "hsl": {
    "h": 296.629,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42129,
    "c": 0.15887,
    "h": 325.5
  },
  "luminance": 0.06426
}

Semantic roles & 50–950 ramp

primary
#76227B
secondary
#51AE4B
accent
#E04850
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #76227B

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

Preview Lab → · Contrast checker → · Palette generator →

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