#76237E#76237E

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

Color values

HEX#76237E
RGBrgb(118, 35, 126)
HSLhsl(295, 57%, 32%)
HSVhsv(295, 72%, 49%)
CMYKcmyk(6.3%, 72.2%, 0%, 50.6%)
CIE-LABlab(30.79, 48.04, -33.74)
CIE-LCHlch(30.79, 58.70, 324.92°)
OKLaboklab(42.42% 0.1298 -0.0939)
OKLCHoklch(42.42% 0.16 324.1)
XYZxyz(11.8378, 6.5607, 20.3774)
Luminance0.0656 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76237E #2B7E23
analogous
#49237E #76237E #7E2359
triadic
#76237E #7E7623 #237E76
tetradic
#76237E #7E4923 #2B7E23 #23597E
square
#76237E #7E4923 #2B7E23 #23597E
split-complementary
#76237E #597E23 #237E49
monochromatic
#1C081E #49164E #76237E #A330AE #C24ECE

Accessibility & contrast

On white

9.08
#76237E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#76237E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76237E
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76237E#FFFFFF#000000##FFFFFF
##76237E1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084281
Deuteranopia (green-blind)
#334C7C
Tritanopia (blue-blind)
#78324E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #76237e;
/* rgb */ color: rgb(118, 35, 126);
/* oklch */ color: oklch(42.4% 0.160 324.1);
Tailwind
colors: {
  custom: {
    50: '#a166a4',
    500: '#76237e',
    950: '#000000',
  },
}
SCSS
$custom: #76237e;
$custom-light: #a166a4;
$custom-dark: #000000;
JSON
{
  "hex": "#76237e",
  "rgb": {
    "r": 118,
    "g": 35,
    "b": 126
  },
  "hsl": {
    "h": 294.725,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42418,
    "c": 0.16026,
    "h": 324.1
  },
  "luminance": 0.0656
}

Semantic roles & 50–950 ramp

primary
#76237E
secondary
#55B04C
accent
#E04855
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #76237E

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

Preview Lab → · Contrast checker → · Palette generator →

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