#762A71#762A71

#762A71 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.4% C 0.139 H 330.4°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#762A71
RGBrgb(118, 42, 113)
HSLhsl(304, 48%, 31%)
HSVhsv(304, 64%, 46%)
CMYKcmyk(0%, 64.4%, 4.2%, 53.7%)
CIE-LABlab(31.12, 42.63, -25.00)
CIE-LCHlch(31.12, 49.42, 329.61°)
OKLaboklab(42.42% 0.1209 -0.0687)
OKLCHoklch(42.42% 0.139 330.4)
XYZxyz(11.2797, 6.7005, 16.3188)
Luminance0.0670 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762A71 #2A762F
analogous
#552A76 #762A71 #762A4B
triadic
#762A71 #71762A #2A7176
tetradic
#762A71 #76552A #2A762F #2A4B76
square
#762A71 #76552A #2A762F #2A4B76
split-complementary
#762A71 #4B762A #2A7655
monochromatic
#1C0A1B #491A46 #762A71 #A33A9C #C357BC

Accessibility & contrast

On white

8.97
#762A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#762A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762A71
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762A71#FFFFFF#000000##FFFFFF
##762A711.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254373
Deuteranopia (green-blind)
#3E4D6F
Tritanopia (blue-blind)
#7A3249
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #762a71;
/* rgb */ color: rgb(118, 42, 113);
/* oklch */ color: oklch(42.4% 0.139 330.4);
Tailwind
colors: {
  custom: {
    50: '#a0699a',
    500: '#762a71',
    950: '#000000',
  },
}
SCSS
$custom: #762a71;
$custom-light: #a0699a;
$custom-dark: #000000;
JSON
{
  "hex": "#762a71",
  "rgb": {
    "r": 118,
    "g": 42,
    "b": 113
  },
  "hsl": {
    "h": 303.947,
    "s": 47.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42416,
    "c": 0.13901,
    "h": 330.4
  },
  "luminance": 0.067
}

Semantic roles & 50–950 ramp

primary
#762A71
secondary
#54A85A
accent
#D75A51
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #762A71

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

Preview Lab → · Contrast checker → · Palette generator →

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