#762771#762771

#762771 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.1% C 0.143 H 330.4°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#762771
RGBrgb(118, 39, 113)
HSLhsl(304, 50%, 31%)
HSVhsv(304, 67%, 46%)
CMYKcmyk(0%, 66.9%, 4.2%, 53.7%)
CIE-LABlab(30.63, 43.97, -25.77)
CIE-LCHlch(30.63, 50.97, 329.63°)
OKLaboklab(42.06% 0.1247 -0.0708)
OKLCHoklch(42.06% 0.143 330.4)
XYZxyz(11.1773, 6.4957, 16.2847)
Luminance0.0649 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762771 #27762C
analogous
#532776 #762771 #762749
triadic
#762771 #717627 #277176
tetradic
#762771 #765327 #27762C #274976
square
#762771 #765327 #27762C #274976
split-complementary
#762771 #497627 #277653
monochromatic
#1A0919 #481845 #762771 #A4369D #C652BE

Accessibility & contrast

On white

9.13
#762771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#762771 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762771
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762771#FFFFFF#000000##FFFFFF
##7627711.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214173
Deuteranopia (green-blind)
#3D4C6F
Tritanopia (blue-blind)
#7B3048
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #762771;
/* rgb */ color: rgb(118, 39, 113);
/* oklch */ color: oklch(42.1% 0.143 330.4);
Tailwind
colors: {
  custom: {
    50: '#a0689a',
    500: '#762771',
    950: '#000000',
  },
}
SCSS
$custom: #762771;
$custom-light: #a0689a;
$custom-dark: #000000;
JSON
{
  "hex": "#762771",
  "rgb": {
    "r": 118,
    "g": 39,
    "b": 113
  },
  "hsl": {
    "h": 303.797,
    "s": 50.318,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42064,
    "c": 0.14343,
    "h": 330.4
  },
  "luminance": 0.06495
}

Semantic roles & 50–950 ramp

primary
#762771
secondary
#51A856
accent
#DA574E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #762771

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

Preview Lab → · Contrast checker → · Palette generator →

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