#76188E#76188E

#76188E is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.6% C 0.186 H 318.1°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#76188E
RGBrgb(118, 24, 142)
HSLhsl(288, 71%, 33%)
HSVhsv(288, 83%, 56%)
CMYKcmyk(16.9%, 83.1%, 0%, 44.3%)
CIE-LABlab(30.54, 54.87, -44.10)
CIE-LCHlch(30.54, 70.40, 321.21°)
OKLaboklab(42.59% 0.1383 -0.1242)
OKLCHoklch(42.59% 0.186 318.1)
XYZxyz(12.6796, 6.4584, 26.1646)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76188E #308E18
analogous
#3B188E #76188E #8E186B
triadic
#76188E #8E7618 #188E76
tetradic
#76188E #8E3B18 #308E18 #186B8E
square
#76188E #8E3B18 #308E18 #186B8E
split-complementary
#76188E #6B8E18 #188E3B
monochromatic
#1F0625 #4A0F5A #76188E #A221C2 #BF41DF

Accessibility & contrast

On white

9.16
#76188E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#76188E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76188E
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76188E#FFFFFF#000000##FFFFFF
##76188E1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #76188e;
/* rgb */ color: rgb(118, 24, 142);
/* oklch */ color: oklch(42.6% 0.186 318.1);
Tailwind
colors: {
  custom: {
    50: '#a263b0',
    500: '#76188e',
    950: '#000000',
  },
}
SCSS
$custom: #76188e;
$custom-light: #a263b0;
$custom-dark: #000000;
JSON
{
  "hex": "#76188e",
  "rgb": {
    "r": 118,
    "g": 24,
    "b": 142
  },
  "hsl": {
    "h": 287.797,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42585,
    "c": 0.18587,
    "h": 318.1
  },
  "luminance": 0.06458
}

Semantic roles & 50–950 ramp

primary
#76188E
secondary
#5CC042
accent
#EE3A5F
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #76188E

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

Preview Lab → · Contrast checker → · Palette generator →

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