#77187F#77187F

#77187F is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.7% C 0.174 H 324.5°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#77187F
RGBrgb(119, 24, 127)
HSLhsl(295, 68%, 30%)
HSVhsv(295, 81%, 50%)
CMYKcmyk(6.3%, 81.1%, 0%, 50.2%)
CIE-LABlab(29.68, 52.27, -36.11)
CIE-LCHlch(29.68, 63.53, 325.36°)
OKLaboklab(41.69% 0.1415 -0.1008)
OKLCHoklch(41.69% 0.174 324.5)
XYZxyz(11.7648, 6.1083, 20.6339)
Luminance0.0611 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77187F #207F18
analogous
#44187F #77187F #7F1854
triadic
#77187F #7F7718 #187F77
tetradic
#77187F #7F4418 #207F18 #18547F
square
#77187F #7F4418 #207F18 #18547F
split-complementary
#77187F #547F18 #187F44
monochromatic
#18051A #470E4C #77187F #A722B2 #CD38D9

Accessibility & contrast

On white

9.45
#77187F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#77187F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77187F
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77187F#FFFFFF#000000##FFFFFF
##77187F1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F82
Deuteranopia (green-blind)
#2E4A7D
Tritanopia (blue-blind)
#7A2C4C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #77187f;
/* rgb */ color: rgb(119, 24, 127);
/* oklch */ color: oklch(41.7% 0.174 324.5);
Tailwind
colors: {
  custom: {
    50: '#a262a5',
    500: '#77187f',
    950: '#000000',
  },
}
SCSS
$custom: #77187f;
$custom-light: #a262a5;
$custom-dark: #000000;
JSON
{
  "hex": "#77187f",
  "rgb": {
    "r": 119,
    "g": 24,
    "b": 127
  },
  "hsl": {
    "h": 295.34,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41687,
    "c": 0.17371,
    "h": 324.5
  },
  "luminance": 0.06108
}

Semantic roles & 50–950 ramp

primary
#77187F
secondary
#48B33F
accent
#EB3D4A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #77187F

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

Preview Lab → · Contrast checker → · Palette generator →

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