#76198E#76198E

#76198E is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.7% C 0.185 H 318.0°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#76198E
RGBrgb(118, 25, 142)
HSLhsl(288, 70%, 33%)
HSVhsv(288, 82%, 56%)
CMYKcmyk(16.9%, 82.4%, 0%, 44.3%)
CIE-LABlab(30.64, 54.58, -43.94)
CIE-LCHlch(30.64, 70.07, 321.17°)
OKLaboklab(42.66% 0.1375 -0.1237)
OKLCHoklch(42.66% 0.185 318)
XYZxyz(12.7006, 6.5004, 26.1716)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76198E #318E19
analogous
#3B198E #76198E #8E196C
triadic
#76198E #8E7619 #198E76
tetradic
#76198E #8E3B19 #318E19 #196C8E
square
#76198E #8E3B19 #318E19 #196C8E
split-complementary
#76198E #6C8E19 #198E3B
monochromatic
#200726 #4B105A #76198E #A122C2 #BE43DE

Accessibility & contrast

On white

9.13
#76198E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#76198E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76198E
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76198E#FFFFFF#000000##FFFFFF
##76198E1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#1E4B8C
Tritanopia (blue-blind)
#753455
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #76198e;
/* rgb */ color: rgb(118, 25, 142);
/* oklch */ color: oklch(42.7% 0.185 318.0);
Tailwind
colors: {
  custom: {
    50: '#a263b0',
    500: '#76198e',
    950: '#000000',
  },
}
SCSS
$custom: #76198e;
$custom-light: #a263b0;
$custom-dark: #000000;
JSON
{
  "hex": "#76198e",
  "rgb": {
    "r": 118,
    "g": 25,
    "b": 142
  },
  "hsl": {
    "h": 287.692,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42656,
    "c": 0.18499,
    "h": 318
  },
  "luminance": 0.065
}

Semantic roles & 50–950 ramp

primary
#76198E
secondary
#5DBF44
accent
#ED3B5F
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #76198E

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

Preview Lab → · Contrast checker → · Palette generator →

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