#76187F#76187F

#76187F is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.5% C 0.173 H 324.1°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#76187F
RGBrgb(118, 24, 127)
HSLhsl(295, 68%, 30%)
HSVhsv(295, 81%, 50%)
CMYKcmyk(7.1%, 81.1%, 0%, 50.2%)
CIE-LABlab(29.51, 52.06, -36.40)
CIE-LCHlch(29.51, 63.53, 325.04°)
OKLaboklab(41.53% 0.1403 -0.1016)
OKLCHoklch(41.53% 0.173 324.1)
XYZxyz(11.6283, 6.0379, 20.6275)
Luminance0.0604 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76187F #217F18
analogous
#42187F #76187F #7F1855
triadic
#76187F #7F7618 #187F76
tetradic
#76187F #7F4218 #217F18 #18557F
square
#76187F #7F4218 #217F18 #18557F
split-complementary
#76187F #557F18 #187F42
monochromatic
#18051A #460E4C #76187F #A622B2 #CB38D9

Accessibility & contrast

On white

9.51
#76187F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#76187F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76187F
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76187F#FFFFFF#000000##FFFFFF
##76187F1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F82
Deuteranopia (green-blind)
#2D497D
Tritanopia (blue-blind)
#782C4C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #76187f;
/* rgb */ color: rgb(118, 24, 127);
/* oklch */ color: oklch(41.5% 0.173 324.1);
Tailwind
colors: {
  custom: {
    50: '#a162a5',
    500: '#76187f',
    950: '#000000',
  },
}
SCSS
$custom: #76187f;
$custom-light: #a162a5;
$custom-dark: #000000;
JSON
{
  "hex": "#76187f",
  "rgb": {
    "r": 118,
    "g": 24,
    "b": 127
  },
  "hsl": {
    "h": 294.757,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41528,
    "c": 0.17326,
    "h": 324.1
  },
  "luminance": 0.06037
}

Semantic roles & 50–950 ramp

primary
#76187F
secondary
#4AB33F
accent
#EB3D4C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #76187F

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

Preview Lab → · Contrast checker → · Palette generator →

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