#772587#772587

#772587 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.4% C 0.166 H 320.6°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#772587
RGBrgb(119, 37, 135)
HSLhsl(290, 57%, 34%)
HSVhsv(290, 73%, 53%)
CMYKcmyk(11.9%, 72.6%, 0%, 47.1%)
CIE-LABlab(31.80, 49.21, -37.73)
CIE-LCHlch(31.80, 62.01, 322.52°)
OKLaboklab(43.36% 0.1286 -0.1056)
OKLCHoklch(43.36% 0.166 320.6)
XYZxyz(12.6420, 6.9950, 23.6012)
Luminance0.0699 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772587 #358725
analogous
#462587 #772587 #872566
triadic
#772587 #877725 #258777
tetradic
#772587 #874625 #358725 #256687
square
#772587 #874625 #358725 #256687
split-complementary
#772587 #668725 #258746
monochromatic
#220B27 #4D1857 #772587 #A132B7 #BD56D1

Accessibility & contrast

On white

8.75
#772587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#772587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772587
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772587#FFFFFF#000000##FFFFFF
##7725871.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#2F4E85
Tritanopia (blue-blind)
#783753
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #772587;
/* rgb */ color: rgb(119, 37, 135);
/* oklch */ color: oklch(43.4% 0.166 320.6);
Tailwind
colors: {
  custom: {
    50: '#a168aa',
    500: '#772587',
    950: '#000000',
  },
}
SCSS
$custom: #772587;
$custom-light: #a168aa;
$custom-dark: #000000;
JSON
{
  "hex": "#772587",
  "rgb": {
    "r": 119,
    "g": 37,
    "b": 135
  },
  "hsl": {
    "h": 290.204,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43355,
    "c": 0.16636,
    "h": 320.6
  },
  "luminance": 0.06994
}

Semantic roles & 50–950 ramp

primary
#772587
secondary
#63B553
accent
#E04860
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #772587

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

Preview Lab → · Contrast checker → · Palette generator →

#772587 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva