#762B79#762B79

#762B79 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.0% C 0.145 H 326.2°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#762B79
RGBrgb(118, 43, 121)
HSLhsl(298, 48%, 32%)
HSVhsv(298, 64%, 47%)
CMYKcmyk(2.5%, 64.5%, 0%, 52.5%)
CIE-LABlab(31.72, 43.66, -29.11)
CIE-LCHlch(31.72, 52.47, 326.30°)
OKLaboklab(43% 0.1202 -0.0806)
OKLCHoklch(43% 0.145 326.2)
XYZxyz(11.7860, 6.9605, 18.8082)
Luminance0.0696 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762B79 #2E792B
analogous
#4F2B79 #762B79 #792B55
triadic
#762B79 #79762B #2B7976
tetradic
#762B79 #794F2B #2E792B #2B5579
square
#762B79 #794F2B #2E792B #2B5579
split-complementary
#762B79 #55792B #2B794F
monochromatic
#1E0B1F #4A1B4C #762B79 #A23BA6 #C05AC4

Accessibility & contrast

On white

8.78
#762B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#762B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762B79
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762B79#FFFFFF#000000##FFFFFF
##762B791.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F457B
Deuteranopia (green-blind)
#3B4E77
Tritanopia (blue-blind)
#79364E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #762b79;
/* rgb */ color: rgb(118, 43, 121);
/* oklch */ color: oklch(43.0% 0.145 326.2);
Tailwind
colors: {
  custom: {
    50: '#a06aa0',
    500: '#762b79',
    950: '#000000',
  },
}
SCSS
$custom: #762b79;
$custom-light: #a06aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#762b79",
  "rgb": {
    "r": 118,
    "g": 43,
    "b": 121
  },
  "hsl": {
    "h": 297.692,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42995,
    "c": 0.14473,
    "h": 326.2
  },
  "luminance": 0.0696
}

Semantic roles & 50–950 ramp

primary
#762B79
secondary
#59AA56
accent
#D75156
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #762B79

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

Preview Lab → · Contrast checker → · Palette generator →

#762B79 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva