#762971#762971

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

Color values

HEX#762971
RGBrgb(118, 41, 113)
HSLhsl(304, 48%, 31%)
HSVhsv(304, 65%, 46%)
CMYKcmyk(0%, 65.3%, 4.2%, 53.7%)
CIE-LABlab(30.95, 43.08, -25.26)
CIE-LCHlch(30.95, 49.94, 329.61°)
OKLaboklab(42.3% 0.1222 -0.0694)
OKLCHoklch(42.3% 0.141 330.4)
XYZxyz(11.2447, 6.6305, 16.3071)
Luminance0.0663 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762971 #29762E
analogous
#542976 #762971 #76294A
triadic
#762971 #717629 #297176
tetradic
#762971 #765429 #29762E #294A76
square
#762971 #765429 #29762E #294A76
split-complementary
#762971 #4A7629 #297654
monochromatic
#1B091A #491946 #762971 #A3399C #C455BD

Accessibility & contrast

On white

9.03
#762971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #762971
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762971#FFFFFF#000000##FFFFFF
##7629711.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #762971;
/* rgb */ color: rgb(118, 41, 113);
/* oklch */ color: oklch(42.3% 0.141 330.4);
Tailwind
colors: {
  custom: {
    50: '#a0699a',
    500: '#762971',
    950: '#000000',
  },
}
SCSS
$custom: #762971;
$custom-light: #a0699a;
$custom-dark: #000000;
JSON
{
  "hex": "#762971",
  "rgb": {
    "r": 118,
    "g": 41,
    "b": 113
  },
  "hsl": {
    "h": 303.896,
    "s": 48.428,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42297,
    "c": 0.1405,
    "h": 330.4
  },
  "luminance": 0.0663
}

Semantic roles & 50–950 ramp

primary
#762971
secondary
#53A858
accent
#D85950
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #762971

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

Preview Lab → · Contrast checker → · Palette generator →

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