#762579#762579

#762579 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.3% C 0.153 H 326.4°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#762579
RGBrgb(118, 37, 121)
HSLhsl(298, 53%, 31%)
HSVhsv(298, 69%, 47%)
CMYKcmyk(2.5%, 69.4%, 0%, 52.5%)
CIE-LABlab(30.77, 46.29, -30.61)
CIE-LCHlch(30.77, 55.49, 326.53°)
OKLaboklab(42.31% 0.1276 -0.0848)
OKLCHoklch(42.31% 0.153 326.4)
XYZxyz(11.5838, 6.5559, 18.7407)
Luminance0.0655 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762579 #287925
analogous
#4C2579 #762579 #792552
triadic
#762579 #797625 #257976
tetradic
#762579 #794C25 #287925 #255279
square
#762579 #794C25 #287925 #255279
split-complementary
#762579 #527925 #25794C
monochromatic
#1B081B #48174A #762579 #A433A8 #C54FC9

Accessibility & contrast

On white

9.09
#762579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#762579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762579
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762579#FFFFFF#000000##FFFFFF
##7625791.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16427B
Deuteranopia (green-blind)
#384C77
Tritanopia (blue-blind)
#79314C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #762579;
/* rgb */ color: rgb(118, 37, 121);
/* oklch */ color: oklch(42.3% 0.153 326.4);
Tailwind
colors: {
  custom: {
    50: '#a067a0',
    500: '#762579',
    950: '#000000',
  },
}
SCSS
$custom: #762579;
$custom-light: #a067a0;
$custom-dark: #000000;
JSON
{
  "hex": "#762579",
  "rgb": {
    "r": 118,
    "g": 37,
    "b": 121
  },
  "hsl": {
    "h": 297.857,
    "s": 53.165,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42313,
    "c": 0.15322,
    "h": 326.4
  },
  "luminance": 0.06555
}

Semantic roles & 50–950 ramp

primary
#762579
secondary
#52AB4E
accent
#DD4B50
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #762579

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

Preview Lab → · Contrast checker → · Palette generator →

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