#762779#762779

#762779 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.5% C 0.150 H 326.3°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#762779
RGBrgb(118, 39, 121)
HSLhsl(298, 51%, 31%)
HSVhsv(298, 68%, 47%)
CMYKcmyk(2.5%, 67.8%, 0%, 52.5%)
CIE-LABlab(31.08, 45.44, -30.13)
CIE-LCHlch(31.08, 54.52, 326.45°)
OKLaboklab(42.53% 0.1252 -0.0835)
OKLCHoklch(42.53% 0.15 326.3)
XYZxyz(11.6477, 6.6838, 18.7621)
Luminance0.0668 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762779 #2A7927
analogous
#4D2779 #762779 #792753
triadic
#762779 #797627 #277976
tetradic
#762779 #794D27 #2A7927 #275379
square
#762779 #794D27 #2A7927 #275379
split-complementary
#762779 #537927 #27794D
monochromatic
#1C091C #49184B #762779 #A336A7 #C353C8

Accessibility & contrast

On white

8.99
#762779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#762779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762779
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762779#FFFFFF#000000##FFFFFF
##7627791.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19437B
Deuteranopia (green-blind)
#394D77
Tritanopia (blue-blind)
#79334C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #762779;
/* rgb */ color: rgb(118, 39, 121);
/* oklch */ color: oklch(42.5% 0.150 326.3);
Tailwind
colors: {
  custom: {
    50: '#a068a0',
    500: '#762779',
    950: '#000000',
  },
}
SCSS
$custom: #762779;
$custom-light: #a068a0;
$custom-dark: #000000;
JSON
{
  "hex": "#762779",
  "rgb": {
    "r": 118,
    "g": 39,
    "b": 121
  },
  "hsl": {
    "h": 297.805,
    "s": 51.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42531,
    "c": 0.15048,
    "h": 326.3
  },
  "luminance": 0.06683
}

Semantic roles & 50–950 ramp

primary
#762779
secondary
#54AB51
accent
#DB4D52
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #762779

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

Preview Lab → · Contrast checker → · Palette generator →

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