#762972#762972

#762972 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.4% C 0.141 H 329.8°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#762972
RGBrgb(118, 41, 114)
HSLhsl(303, 48%, 31%)
HSVhsv(303, 65%, 46%)
CMYKcmyk(0%, 65.3%, 3.4%, 53.7%)
CIE-LABlab(31.00, 43.26, -25.81)
CIE-LCHlch(31.00, 50.38, 329.18°)
OKLaboklab(42.35% 0.1223 -0.071)
OKLCHoklch(42.35% 0.141 329.8)
XYZxyz(11.3013, 6.6531, 16.6053)
Luminance0.0665 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762972 #29762D
analogous
#532976 #762972 #76294B
triadic
#762972 #727629 #297276
tetradic
#762972 #765329 #29762D #294B76
square
#762972 #765329 #29762D #294B76
split-complementary
#762972 #4B7629 #297653
monochromatic
#1B091A #491946 #762972 #A3399E #C455BE

Accessibility & contrast

On white

9.01
#762972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#762972 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762972
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762972#FFFFFF#000000##FFFFFF
##7629721.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #762972;
/* rgb */ color: rgb(118, 41, 114);
/* oklch */ color: oklch(42.4% 0.141 329.8);
Tailwind
colors: {
  custom: {
    50: '#a0699b',
    500: '#762972',
    950: '#000000',
  },
}
SCSS
$custom: #762972;
$custom-light: #a0699b;
$custom-dark: #000000;
JSON
{
  "hex": "#762972",
  "rgb": {
    "r": 118,
    "g": 41,
    "b": 114
  },
  "hsl": {
    "h": 303.117,
    "s": 48.428,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42353,
    "c": 0.14138,
    "h": 329.8
  },
  "luminance": 0.06652
}

Semantic roles & 50–950 ramp

primary
#762972
secondary
#53A857
accent
#D85750
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #762972

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

Preview Lab → · Contrast checker → · Palette generator →

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