#762B71#762B71

#762B71 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.5% C 0.137 H 330.4°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#762B71
RGBrgb(118, 43, 113)
HSLhsl(304, 47%, 32%)
HSVhsv(304, 64%, 46%)
CMYKcmyk(0%, 63.6%, 4.2%, 53.7%)
CIE-LABlab(31.28, 42.16, -24.74)
CIE-LCHlch(31.28, 48.89, 329.60°)
OKLaboklab(42.54% 0.1195 -0.0679)
OKLCHoklch(42.54% 0.137 330.4)
XYZxyz(11.3157, 6.7724, 16.3308)
Luminance0.0677 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762B71 #2B7630
analogous
#562B76 #762B71 #762B4C
triadic
#762B71 #71762B #2B7176
tetradic
#762B71 #76562B #2B7630 #2B4C76
square
#762B71 #76562B #2B7630 #2B4C76
split-complementary
#762B71 #4C762B #2B7656
monochromatic
#1C0A1B #491B46 #762B71 #A33B9C #C259BB

Accessibility & contrast

On white

8.92
#762B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#762B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762B71
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762B71#FFFFFF#000000##FFFFFF
##762B711.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264373
Deuteranopia (green-blind)
#3F4D6F
Tritanopia (blue-blind)
#7A334A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #762b71;
/* rgb */ color: rgb(118, 43, 113);
/* oklch */ color: oklch(42.5% 0.137 330.4);
Tailwind
colors: {
  custom: {
    50: '#a06a9a',
    500: '#762b71',
    950: '#000000',
  },
}
SCSS
$custom: #762b71;
$custom-light: #a06a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#762b71",
  "rgb": {
    "r": 118,
    "g": 43,
    "b": 113
  },
  "hsl": {
    "h": 304,
    "s": 46.584,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42539,
    "c": 0.13748,
    "h": 330.4
  },
  "luminance": 0.06772
}

Semantic roles & 50–950 ramp

primary
#762B71
secondary
#55A85B
accent
#D65A52
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #762B71

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

Preview Lab → · Contrast checker → · Palette generator →

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