#76247E#76247E

#76247E is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.5% C 0.159 H 324.1°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#76247E
RGBrgb(118, 36, 126)
HSLhsl(295, 56%, 32%)
HSVhsv(295, 71%, 49%)
CMYKcmyk(6.3%, 71.4%, 0%, 50.6%)
CIE-LABlab(30.93, 47.64, -33.51)
CIE-LCHlch(30.93, 58.24, 324.88°)
OKLaboklab(42.52% 0.1287 -0.0933)
OKLCHoklch(42.52% 0.159 324.1)
XYZxyz(11.8677, 6.6204, 20.3874)
Luminance0.0662 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76247E #2C7E24
analogous
#49247E #76247E #7E2459
triadic
#76247E #7E7624 #247E76
tetradic
#76247E #7E4924 #2C7E24 #24597E
square
#76247E #7E4924 #2C7E24 #24597E
split-complementary
#76247E #597E24 #247E49
monochromatic
#1D091F #49164E #76247E #A332AE #C250CD

Accessibility & contrast

On white

9.04
#76247E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#76247E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76247E
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76247E#FFFFFF#000000##FFFFFF
##76247E1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4381
Deuteranopia (green-blind)
#344C7C
Tritanopia (blue-blind)
#78334E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #76247e;
/* rgb */ color: rgb(118, 36, 126);
/* oklch */ color: oklch(42.5% 0.159 324.1);
Tailwind
colors: {
  custom: {
    50: '#a067a4',
    500: '#76247e',
    950: '#000000',
  },
}
SCSS
$custom: #76247e;
$custom-light: #a067a4;
$custom-dark: #000000;
JSON
{
  "hex": "#76247e",
  "rgb": {
    "r": 118,
    "g": 36,
    "b": 126
  },
  "hsl": {
    "h": 294.667,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.4252,
    "c": 0.15899,
    "h": 324.1
  },
  "luminance": 0.0662
}

Semantic roles & 50–950 ramp

primary
#76247E
secondary
#56B04E
accent
#DF4956
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #76247E

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

Preview Lab → · Contrast checker → · Palette generator →

#76247E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva