#762479#762479

#762479 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.2% C 0.155 H 326.4°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#762479
RGBrgb(118, 36, 121)
HSLhsl(298, 54%, 31%)
HSVhsv(298, 70%, 47%)
CMYKcmyk(2.5%, 70.2%, 0%, 52.5%)
CIE-LABlab(30.63, 46.70, -30.84)
CIE-LCHlch(30.63, 55.96, 326.56°)
OKLaboklab(42.21% 0.1287 -0.0855)
OKLCHoklch(42.21% 0.155 326.4)
XYZxyz(11.5531, 6.4945, 18.7305)
Luminance0.0649 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762479 #277924
analogous
#4B2479 #762479 #792451
triadic
#762479 #797624 #247976
tetradic
#762479 #794B24 #277924 #245179
square
#762479 #794B24 #277924 #245179
split-complementary
#762479 #517924 #24794B
monochromatic
#1A081B #48164A #762479 #A432A8 #C64DCA

Accessibility & contrast

On white

9.14
#762479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#762479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762479
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762479#FFFFFF#000000##FFFFFF
##7624791.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14417B
Deuteranopia (green-blind)
#374C77
Tritanopia (blue-blind)
#79314B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #762479;
/* rgb */ color: rgb(118, 36, 121);
/* oklch */ color: oklch(42.2% 0.155 326.4);
Tailwind
colors: {
  custom: {
    50: '#a066a0',
    500: '#762479',
    950: '#000000',
  },
}
SCSS
$custom: #762479;
$custom-light: #a066a0;
$custom-dark: #000000;
JSON
{
  "hex": "#762479",
  "rgb": {
    "r": 118,
    "g": 36,
    "b": 121
  },
  "hsl": {
    "h": 297.882,
    "s": 54.14,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42208,
    "c": 0.15455,
    "h": 326.4
  },
  "luminance": 0.06494
}

Semantic roles & 50–950 ramp

primary
#762479
secondary
#51AC4D
accent
#DE4A4F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #762479

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

Preview Lab → · Contrast checker → · Palette generator →

#762479 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva