#762872#762872

#762872 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.2% C 0.143 H 329.9°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#762872
RGBrgb(118, 40, 114)
HSLhsl(303, 49%, 31%)
HSVhsv(303, 66%, 46%)
CMYKcmyk(0%, 66.1%, 3.4%, 53.7%)
CIE-LABlab(30.84, 43.71, -26.07)
CIE-LCHlch(30.84, 50.89, 329.19°)
OKLaboklab(42.24% 0.1235 -0.0717)
OKLCHoklch(42.24% 0.143 329.9)
XYZxyz(11.2672, 6.5848, 16.5939)
Luminance0.0658 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762872 #28762C
analogous
#532876 #762872 #76284B
triadic
#762872 #727628 #287276
tetradic
#762872 #765328 #28762C #284B76
square
#762872 #765328 #28762C #284B76
split-complementary
#762872 #4B7628 #287653
monochromatic
#1B091A #481946 #762872 #A4379E #C554BF

Accessibility & contrast

On white

9.06
#762872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#762872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762872
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762872#FFFFFF#000000##FFFFFF
##7628721.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214274
Deuteranopia (green-blind)
#3D4C70
Tritanopia (blue-blind)
#7A3149
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #762872;
/* rgb */ color: rgb(118, 40, 114);
/* oklch */ color: oklch(42.2% 0.143 329.9);
Tailwind
colors: {
  custom: {
    50: '#a0689b',
    500: '#762872',
    950: '#000000',
  },
}
SCSS
$custom: #762872;
$custom-light: #a0689b;
$custom-dark: #000000;
JSON
{
  "hex": "#762872",
  "rgb": {
    "r": 118,
    "g": 40,
    "b": 114
  },
  "hsl": {
    "h": 303.077,
    "s": 49.367,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42236,
    "c": 0.14285,
    "h": 329.9
  },
  "luminance": 0.06584
}

Semantic roles & 50–950 ramp

primary
#762872
secondary
#52A856
accent
#D9564F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #762872

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

Preview Lab → · Contrast checker → · Palette generator →

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