#76278F#76278F

#76278F is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.0% C 0.171 H 316.8°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#76278F
RGBrgb(118, 39, 143)
HSLhsl(286, 57%, 36%)
HSVhsv(286, 73%, 56%)
CMYKcmyk(17.5%, 72.7%, 0%, 43.9%)
CIE-LABlab(32.45, 49.79, -41.64)
CIE-LCHlch(32.45, 64.91, 320.09°)
OKLaboklab(43.96% 0.1245 -0.1171)
OKLCHoklch(43.96% 0.171 316.8)
XYZxyz(13.1539, 7.2863, 26.6948)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76278F #408F27
analogous
#42278F #76278F #8F2774
triadic
#76278F #8F7627 #278F76
tetradic
#76278F #8F4227 #408F27 #27748F
square
#76278F #8F4227 #408F27 #27748F
split-complementary
#76278F #748F27 #278F42
monochromatic
#270D2F #4E1A5F #76278F #9E34BF #B75DD3

Accessibility & contrast

On white

8.55
#76278F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#76278F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76278F
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76278F#FFFFFF#000000##FFFFFF
##76278F1.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#284F8D
Tritanopia (blue-blind)
#753C58
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #76278f;
/* rgb */ color: rgb(118, 39, 143);
/* oklch */ color: oklch(44.0% 0.171 316.8);
Tailwind
colors: {
  custom: {
    50: '#a169b0',
    500: '#76278f',
    950: '#000000',
  },
}
SCSS
$custom: #76278f;
$custom-light: #a169b0;
$custom-dark: #000000;
JSON
{
  "hex": "#76278f",
  "rgb": {
    "r": 118,
    "g": 39,
    "b": 143
  },
  "hsl": {
    "h": 285.577,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.43959,
    "c": 0.17093,
    "h": 316.8
  },
  "luminance": 0.07286
}

Semantic roles & 50–950 ramp

primary
#76278F
secondary
#70B85A
accent
#E0476C
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #76278F

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

Preview Lab → · Contrast checker → · Palette generator →

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