#762F7A#762F7A

#762F7A is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.6% C 0.140 H 325.5°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#762F7A
RGBrgb(118, 47, 122)
HSLhsl(297, 44%, 33%)
HSVhsv(297, 61%, 48%)
CMYKcmyk(3.3%, 61.5%, 0%, 52.2%)
CIE-LABlab(32.46, 41.96, -28.57)
CIE-LCHlch(32.46, 50.76, 325.75°)
OKLaboklab(43.55% 0.115 -0.079)
OKLCHoklch(43.55% 0.14 325.5)
XYZxyz(12.0003, 7.2904, 19.1837)
Luminance0.0729 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762F7A #337A2F
analogous
#502F7A #762F7A #7A2F58
triadic
#762F7A #7A762F #2F7A76
tetradic
#762F7A #7A502F #337A2F #2F587A
square
#762F7A #7A502F #337A2F #2F587A
split-complementary
#762F7A #587A2F #2F7A50
monochromatic
#210D22 #4B1E4E #762F7A #A140A6 #BD61C2

Accessibility & contrast

On white

8.54
#762F7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#762F7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762F7A
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762F7A#FFFFFF#000000##FFFFFF
##762F7A1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24477C
Deuteranopia (green-blind)
#3D4F78
Tritanopia (blue-blind)
#793950
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #762f7a;
/* rgb */ color: rgb(118, 47, 122);
/* oklch */ color: oklch(43.6% 0.140 325.5);
Tailwind
colors: {
  custom: {
    50: '#a06ca1',
    500: '#762f7a',
    950: '#000000',
  },
}
SCSS
$custom: #762f7a;
$custom-light: #a06ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#762f7a",
  "rgb": {
    "r": 118,
    "g": 47,
    "b": 122
  },
  "hsl": {
    "h": 296.8,
    "s": 44.379,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43553,
    "c": 0.13956,
    "h": 325.5
  },
  "luminance": 0.0729
}

Semantic roles & 50–950 ramp

primary
#762F7A
secondary
#60A95C
accent
#D4545B
background
#FAF6F9
surface
#F3ECF2
border
#CDC7CC
text
#0F070F
muted
#7F7A7E

Preview Lab

Preview with #762F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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