#762F78#762F78

#762F78 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.4% C 0.138 H 326.5°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#762F78
RGBrgb(118, 47, 120)
HSLhsl(298, 44%, 33%)
HSVhsv(298, 61%, 47%)
CMYKcmyk(1.7%, 60.8%, 0%, 52.9%)
CIE-LABlab(32.35, 41.57, -27.49)
CIE-LCHlch(32.35, 49.84, 326.53°)
OKLaboklab(43.44% 0.1149 -0.0759)
OKLCHoklch(43.44% 0.138 326.5)
XYZxyz(11.8777, 7.2414, 18.5378)
Luminance0.0724 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762F78 #31782F
analogous
#512F78 #762F78 #782F55
triadic
#762F78 #78762F #2F7876
tetradic
#762F78 #78512F #31782F #2F5578
square
#762F78 #78512F #31782F #2F5578
split-complementary
#762F78 #55782F #2F7851
monochromatic
#200D20 #4B1E4C #762F78 #A140A4 #BE60C1

Accessibility & contrast

On white

8.58
#762F78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#762F78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762F78
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762F78#FFFFFF#000000##FFFFFF
##762F781.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26467A
Deuteranopia (green-blind)
#3E4F76
Tritanopia (blue-blind)
#79384F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #762f78;
/* rgb */ color: rgb(118, 47, 120);
/* oklch */ color: oklch(43.4% 0.138 326.5);
Tailwind
colors: {
  custom: {
    50: '#a06c9f',
    500: '#762f78',
    950: '#000000',
  },
}
SCSS
$custom: #762f78;
$custom-light: #a06c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#762f78",
  "rgb": {
    "r": 118,
    "g": 47,
    "b": 120
  },
  "hsl": {
    "h": 298.356,
    "s": 43.713,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43438,
    "c": 0.13766,
    "h": 326.5
  },
  "luminance": 0.07241
}

Semantic roles & 50–950 ramp

primary
#762F78
secondary
#5DA85B
accent
#D35458
background
#FAF6F9
surface
#F3ECF2
border
#CDC7CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #762F78

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

Preview Lab → · Contrast checker → · Palette generator →

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