#762D7D#762D7D

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

Color values

HEX#762D7D
RGBrgb(118, 45, 125)
HSLhsl(295, 47%, 33%)
HSVhsv(295, 64%, 49%)
CMYKcmyk(5.6%, 64%, 0%, 51%)
CIE-LABlab(32.28, 43.50, -30.74)
CIE-LCHlch(32.28, 53.26, 324.76°)
OKLaboklab(43.48% 0.1179 -0.0853)
OKLCHoklch(43.48% 0.145 324.1)
XYZxyz(12.1109, 7.2097, 20.1518)
Luminance0.0721 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762D7D #347D2D
analogous
#4E2D7D #762D7D #7D2D5C
triadic
#762D7D #7D762D #2D7D76
tetradic
#762D7D #7D4E2D #347D2D #2D5C7D
square
#762D7D #7D4E2D #347D2D #2D5C7D
split-complementary
#762D7D #5C7D2D #2D7D4E
monochromatic
#210D23 #4C1D50 #762D7D #A03DAA #BC5FC5

Accessibility & contrast

On white

8.60
#762D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#762D7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762D7D
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762D7D#FFFFFF#000000##FFFFFF
##762D7D1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E467F
Deuteranopia (green-blind)
#3A4F7B
Tritanopia (blue-blind)
#783951
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #762d7d;
/* rgb */ color: rgb(118, 45, 125);
/* oklch */ color: oklch(43.5% 0.145 324.1);
Tailwind
colors: {
  custom: {
    50: '#a06ba3',
    500: '#762d7d',
    950: '#000000',
  },
}
SCSS
$custom: #762d7d;
$custom-light: #a06ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#762d7d",
  "rgb": {
    "r": 118,
    "g": 45,
    "b": 125
  },
  "hsl": {
    "h": 294.75,
    "s": 47.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43477,
    "c": 0.14549,
    "h": 324.1
  },
  "luminance": 0.07209
}

Semantic roles & 50–950 ramp

primary
#762D7D
secondary
#61AC5A
accent
#D7515D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #762D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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