#762B6F#762B6F

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

Color values

HEX#762B6F
RGBrgb(118, 43, 111)
HSLhsl(306, 47%, 32%)
HSVhsv(306, 64%, 46%)
CMYKcmyk(0%, 63.6%, 5.9%, 53.7%)
CIE-LABlab(31.18, 41.80, -23.63)
CIE-LCHlch(31.18, 48.02, 330.52°)
OKLaboklab(42.43% 0.1193 -0.0647)
OKLCHoklch(42.43% 0.136 331.5)
XYZxyz(11.2043, 6.7278, 15.7443)
Luminance0.0673 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762B6F #2B7632
analogous
#582B76 #762B6F #762B4A
triadic
#762B6F #6F762B #2B6F76
tetradic
#762B6F #76582B #2B7632 #2B4A76
square
#762B6F #76582B #2B7632 #2B4A76
split-complementary
#762B6F #4A762B #2B7658
monochromatic
#1C0A1B #491B45 #762B6F #A33B99 #C259B9

Accessibility & contrast

On white

8.95
#762B6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #762B6F
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762B6F#FFFFFF#000000##FFFFFF
##762B6F1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274371
Deuteranopia (green-blind)
#404D6D
Tritanopia (blue-blind)
#7B3249
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #762b6f;
/* rgb */ color: rgb(118, 43, 111);
/* oklch */ color: oklch(42.4% 0.136 331.5);
Tailwind
colors: {
  custom: {
    50: '#a06a98',
    500: '#762b6f',
    950: '#000000',
  },
}
SCSS
$custom: #762b6f;
$custom-light: #a06a98;
$custom-dark: #000000;
JSON
{
  "hex": "#762b6f",
  "rgb": {
    "r": 118,
    "g": 43,
    "b": 111
  },
  "hsl": {
    "h": 305.6,
    "s": 46.584,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42429,
    "c": 0.13572,
    "h": 331.5
  },
  "luminance": 0.06727
}

Semantic roles & 50–950 ramp

primary
#762B6F
secondary
#55A85D
accent
#D65E52
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070D
muted
#7F7A7E

Preview Lab

Preview with #762B6F

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

Preview Lab → · Contrast checker → · Palette generator →

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