#762279#762279

#762279 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.0% C 0.157 H 326.5°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#762279
RGBrgb(118, 34, 121)
HSLhsl(298, 56%, 30%)
HSVhsv(298, 72%, 47%)
CMYKcmyk(2.5%, 71.9%, 0%, 52.5%)
CIE-LABlab(30.34, 47.50, -31.29)
CIE-LCHlch(30.34, 56.88, 326.63°)
OKLaboklab(42% 0.131 -0.0868)
OKLCHoklch(42% 0.157 326.5)
XYZxyz(11.4942, 6.3768, 18.7109)
Luminance0.0638 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762279 #257922
analogous
#4A2279 #762279 #792250
triadic
#762279 #797622 #227976
tetradic
#762279 #794A22 #257922 #225079
square
#762279 #794A22 #257922 #225079
split-complementary
#762279 #507922 #22794A
monochromatic
#190719 #471549 #762279 #A52FA9 #C749CC

Accessibility & contrast

On white

9.23
#762279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#762279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762279
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762279#FFFFFF#000000##FFFFFF
##7622791.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10417B
Deuteranopia (green-blind)
#364B77
Tritanopia (blue-blind)
#792F4B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #762279;
/* rgb */ color: rgb(118, 34, 121);
/* oklch */ color: oklch(42.0% 0.157 326.5);
Tailwind
colors: {
  custom: {
    50: '#a066a0',
    500: '#762279',
    950: '#000000',
  },
}
SCSS
$custom: #762279;
$custom-light: #a066a0;
$custom-dark: #000000;
JSON
{
  "hex": "#762279",
  "rgb": {
    "r": 118,
    "g": 34,
    "b": 121
  },
  "hsl": {
    "h": 297.931,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42004,
    "c": 0.15712,
    "h": 326.5
  },
  "luminance": 0.06376
}

Semantic roles & 50–950 ramp

primary
#762279
secondary
#4EAC4B
accent
#DF484E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #762279

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

Preview Lab → · Contrast checker → · Palette generator →

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