#762B81#762B81

#762B81 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.5% C 0.152 H 322.3°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#762B81
RGBrgb(118, 43, 129)
HSLhsl(292, 50%, 34%)
HSVhsv(292, 67%, 51%)
CMYKcmyk(8.5%, 66.7%, 0%, 49.4%)
CIE-LABlab(32.18, 45.22, -33.40)
CIE-LCHlch(32.18, 56.21, 323.55°)
OKLaboklab(43.48% 0.1205 -0.093)
OKLCHoklch(43.48% 0.152 322.3)
XYZxyz(12.2971, 7.1649, 21.4999)
Luminance0.0716 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762B81 #36812B
analogous
#4B2B81 #762B81 #812B61
triadic
#762B81 #81762B #2B8176
tetradic
#762B81 #814B2B #36812B #2B6181
square
#762B81 #814B2B #36812B #2B6181
split-complementary
#762B81 #61812B #2B814B
monochromatic
#220C25 #4C1C53 #762B81 #A03AAF #BB5DC9

Accessibility & contrast

On white

8.63
#762B81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#762B81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762B81
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762B81#FFFFFF#000000##FFFFFF
##762B811.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164684
Deuteranopia (green-blind)
#364F7F
Tritanopia (blue-blind)
#783952
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #762b81;
/* rgb */ color: rgb(118, 43, 129);
/* oklch */ color: oklch(43.5% 0.152 322.3);
Tailwind
colors: {
  custom: {
    50: '#a06aa6',
    500: '#762b81',
    950: '#000000',
  },
}
SCSS
$custom: #762b81;
$custom-light: #a06aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#762b81",
  "rgb": {
    "r": 118,
    "g": 43,
    "b": 129
  },
  "hsl": {
    "h": 292.326,
    "s": 50,
    "l": 33.725
  },
  "oklch": {
    "l": 0.4348,
    "c": 0.15224,
    "h": 322.3
  },
  "luminance": 0.07164
}

Semantic roles & 50–950 ramp

primary
#762B81
secondary
#64AF59
accent
#DA4E60
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #762B81

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

Preview Lab → · Contrast checker → · Palette generator →

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