#76188F#76188F

#76188F is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.7% C 0.187 H 317.7°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#76188F
RGBrgb(118, 24, 143)
HSLhsl(287, 71%, 33%)
HSVhsv(287, 83%, 56%)
CMYKcmyk(17.5%, 83.2%, 0%, 43.9%)
CIE-LABlab(30.61, 55.07, -44.60)
CIE-LCHlch(30.61, 70.86, 321.00°)
OKLaboklab(42.66% 0.1381 -0.1257)
OKLCHoklch(42.66% 0.187 317.7)
XYZxyz(12.7551, 6.4886, 26.5618)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76188F #318F18
analogous
#3B188F #76188F #8F186C
triadic
#76188F #8F7618 #188F76
tetradic
#76188F #8F3B18 #318F18 #186C8F
square
#76188F #8F3B18 #318F18 #186C8F
split-complementary
#76188F #6C8F18 #188F3B
monochromatic
#200626 #4B0F5B #76188F #A121C3 #BE42DF

Accessibility & contrast

On white

9.14
#76188F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#76188F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76188F
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76188F#FFFFFF#000000##FFFFFF
##76188F1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #76188f;
/* rgb */ color: rgb(118, 24, 143);
/* oklch */ color: oklch(42.7% 0.187 317.7);
Tailwind
colors: {
  custom: {
    50: '#a263b0',
    500: '#76188f',
    950: '#000000',
  },
}
SCSS
$custom: #76188f;
$custom-light: #a263b0;
$custom-dark: #000000;
JSON
{
  "hex": "#76188f",
  "rgb": {
    "r": 118,
    "g": 24,
    "b": 143
  },
  "hsl": {
    "h": 287.395,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42659,
    "c": 0.18672,
    "h": 317.7
  },
  "luminance": 0.06488
}

Semantic roles & 50–950 ramp

primary
#76188F
secondary
#5DC043
accent
#EE3A60
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #76188F

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

Preview Lab → · Contrast checker → · Palette generator →

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