#76187B#76187B

#76187B is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.3% C 0.170 H 325.8°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#76187B
RGBrgb(118, 24, 123)
HSLhsl(297, 67%, 29%)
HSVhsv(297, 80%, 48%)
CMYKcmyk(4.1%, 80.5%, 0%, 51.8%)
CIE-LABlab(29.25, 51.34, -34.30)
CIE-LCHlch(29.25, 61.74, 326.26°)
OKLaboklab(41.26% 0.1406 -0.0955)
OKLCHoklch(41.26% 0.17 325.8)
XYZxyz(11.3728, 5.9357, 19.2817)
Luminance0.0593 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76187B #1D7B18
analogous
#45187B #76187B #7B184F
triadic
#76187B #7B7618 #187B76
tetradic
#76187B #7B4518 #1D7B18 #184F7B
square
#76187B #7B4518 #1D7B18 #184F7B
split-complementary
#76187B #4F7B18 #187B45
monochromatic
#19051A #450E48 #76187B #A722AE #D036D8

Accessibility & contrast

On white

9.60
#76187B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#76187B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76187B
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76187B#FFFFFF#000000##FFFFFF
##76187B1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7E
Deuteranopia (green-blind)
#304979
Tritanopia (blue-blind)
#792A49
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #76187b;
/* rgb */ color: rgb(118, 24, 123);
/* oklch */ color: oklch(41.3% 0.170 325.8);
Tailwind
colors: {
  custom: {
    50: '#a162a2',
    500: '#76187b',
    950: '#000000',
  },
}
SCSS
$custom: #76187b;
$custom-light: #a162a2;
$custom-dark: #000000;
JSON
{
  "hex": "#76187b",
  "rgb": {
    "r": 118,
    "g": 24,
    "b": 123
  },
  "hsl": {
    "h": 296.97,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41262,
    "c": 0.16999,
    "h": 325.8
  },
  "luminance": 0.05935
}

Semantic roles & 50–950 ramp

primary
#76187B
secondary
#45B03F
accent
#EA3E46
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #76187B

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

Preview Lab → · Contrast checker → · Palette generator →

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