#76238A#76238A

#76238A is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.2% C 0.171 H 319.0°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#76238A
RGBrgb(118, 35, 138)
HSLhsl(288, 60%, 34%)
HSVhsv(288, 75%, 54%)
CMYKcmyk(14.5%, 74.6%, 0%, 45.9%)
CIE-LABlab(31.55, 50.37, -39.99)
CIE-LCHlch(31.55, 64.32, 321.55°)
OKLaboklab(43.21% 0.1292 -0.1122)
OKLCHoklch(43.21% 0.171 319)
XYZxyz(12.6591, 6.8892, 24.7028)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76238A #378A23
analogous
#43238A #76238A #8A236B
triadic
#76238A #8A7623 #238A76
tetradic
#76238A #8A4323 #378A23 #236B8A
square
#76238A #8A4323 #378A23 #236B8A
split-complementary
#76238A #6B8A23 #238A43
monochromatic
#230A28 #4C1759 #76238A #A02FBB #BB54D4

Accessibility & contrast

On white

8.83
#76238A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#76238A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76238A
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76238A#FFFFFF#000000##FFFFFF
##76238A1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458D
Deuteranopia (green-blind)
#2A4D88
Tritanopia (blue-blind)
#763854
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #76238a;
/* rgb */ color: rgb(118, 35, 138);
/* oklch */ color: oklch(43.2% 0.171 319.0);
Tailwind
colors: {
  custom: {
    50: '#a167ad',
    500: '#76238a',
    950: '#000000',
  },
}
SCSS
$custom: #76238a;
$custom-light: #a167ad;
$custom-dark: #000000;
JSON
{
  "hex": "#76238a",
  "rgb": {
    "r": 118,
    "g": 35,
    "b": 138
  },
  "hsl": {
    "h": 288.35,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43213,
    "c": 0.1711,
    "h": 319
  },
  "luminance": 0.06889
}

Semantic roles & 50–950 ramp

primary
#76238A
secondary
#65B751
accent
#E34564
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #76238A

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

Preview Lab → · Contrast checker → · Palette generator →

#76238A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva