#762879#762879

#762879 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.6% C 0.149 H 326.3°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#762879
RGBrgb(118, 40, 121)
HSLhsl(298, 50%, 32%)
HSVhsv(298, 67%, 47%)
CMYKcmyk(2.5%, 66.9%, 0%, 52.5%)
CIE-LABlab(31.23, 45.00, -29.88)
CIE-LCHlch(31.23, 54.02, 326.42°)
OKLaboklab(42.64% 0.124 -0.0828)
OKLCHoklch(42.64% 0.149 326.3)
XYZxyz(11.6810, 6.7504, 18.7731)
Luminance0.0675 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762879 #2B7928
analogous
#4E2879 #762879 #792854
triadic
#762879 #797628 #287976
tetradic
#762879 #794E28 #2B7928 #285479
square
#762879 #794E28 #2B7928 #285479
split-complementary
#762879 #547928 #28794E
monochromatic
#1C0A1D #49194B #762879 #A337A7 #C255C7

Accessibility & contrast

On white

8.94
#762879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#762879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762879
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762879#FFFFFF#000000##FFFFFF
##7628791.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B437B
Deuteranopia (green-blind)
#394D77
Tritanopia (blue-blind)
#79344D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #762879;
/* rgb */ color: rgb(118, 40, 121);
/* oklch */ color: oklch(42.6% 0.149 326.3);
Tailwind
colors: {
  custom: {
    50: '#a068a0',
    500: '#762879',
    950: '#000000',
  },
}
SCSS
$custom: #762879;
$custom-light: #a068a0;
$custom-dark: #000000;
JSON
{
  "hex": "#762879",
  "rgb": {
    "r": 118,
    "g": 40,
    "b": 121
  },
  "hsl": {
    "h": 297.778,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42644,
    "c": 0.14909,
    "h": 326.3
  },
  "luminance": 0.0675
}

Semantic roles & 50–950 ramp

primary
#762879
secondary
#55AB52
accent
#DA4E53
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070F
muted
#7F7A7E

Preview Lab

Preview with #762879

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

Preview Lab → · Contrast checker → · Palette generator →

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