#762D72#762D72

#762D72 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 42.8% C 0.135 H 329.8°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#762D72
RGBrgb(118, 45, 114)
HSLhsl(303, 45%, 32%)
HSVhsv(303, 62%, 46%)
CMYKcmyk(0%, 61.9%, 3.4%, 53.7%)
CIE-LABlab(31.68, 41.40, -24.75)
CIE-LCHlch(31.68, 48.24, 329.13°)
OKLaboklab(42.85% 0.1169 -0.068)
OKLCHoklch(42.85% 0.135 329.8)
XYZxyz(11.4468, 6.9440, 16.6537)
Luminance0.0694 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762D72 #2D7631
analogous
#562D76 #762D72 #762D4E
triadic
#762D72 #72762D #2D7276
tetradic
#762D72 #76562D #2D7631 #2D4E76
square
#762D72 #76562D #2D7631 #2D4E76
split-complementary
#762D72 #4E762D #2D7656
monochromatic
#1D0B1C #4A1C47 #762D72 #A23E9D #C15CBB

Accessibility & contrast

On white

8.79
#762D72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #762D72
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762D72#FFFFFF#000000##FFFFFF
##762D721.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274474
Deuteranopia (green-blind)
#404E70
Tritanopia (blue-blind)
#7A354B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #762d72;
/* rgb */ color: rgb(118, 45, 114);
/* oklch */ color: oklch(42.8% 0.135 329.8);
Tailwind
colors: {
  custom: {
    50: '#a06b9b',
    500: '#762d72',
    950: '#000000',
  },
}
SCSS
$custom: #762d72;
$custom-light: #a06b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#762d72",
  "rgb": {
    "r": 118,
    "g": 45,
    "b": 114
  },
  "hsl": {
    "h": 303.288,
    "s": 44.785,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42845,
    "c": 0.13526,
    "h": 329.8
  },
  "luminance": 0.06943
}

Semantic roles & 50–950 ramp

primary
#762D72
secondary
#57A75C
accent
#D45A53
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #762D72

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

Preview Lab → · Contrast checker → · Palette generator →

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