#762571#762571

#762571 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 41.8% C 0.146 H 330.4°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#762571
RGBrgb(118, 37, 113)
HSLhsl(304, 52%, 30%)
HSVhsv(304, 69%, 46%)
CMYKcmyk(0%, 68.6%, 4.2%, 53.7%)
CIE-LABlab(30.32, 44.83, -26.25)
CIE-LCHlch(30.32, 51.95, 329.65°)
OKLaboklab(41.84% 0.1272 -0.0722)
OKLCHoklch(41.84% 0.146 330.4)
XYZxyz(11.1134, 6.3678, 16.2633)
Luminance0.0637 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762571 #25762A
analogous
#522576 #762571 #762548
triadic
#762571 #717625 #257176
tetradic
#762571 #765225 #25762A #254876
square
#762571 #765225 #25762A #254876
split-complementary
#762571 #487625 #257652
monochromatic
#190818 #471644 #762571 #A5349E #C74EC0

Accessibility & contrast

On white

9.24
#762571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#762571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762571
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762571#FFFFFF#000000##FFFFFF
##7625711.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4073
Deuteranopia (green-blind)
#3C4B6F
Tritanopia (blue-blind)
#7B2E47
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #762571;
/* rgb */ color: rgb(118, 37, 113);
/* oklch */ color: oklch(41.8% 0.146 330.4);
Tailwind
colors: {
  custom: {
    50: '#a0679a',
    500: '#762571',
    950: '#000000',
  },
}
SCSS
$custom: #762571;
$custom-light: #a0679a;
$custom-dark: #000000;
JSON
{
  "hex": "#762571",
  "rgb": {
    "r": 118,
    "g": 37,
    "b": 113
  },
  "hsl": {
    "h": 303.704,
    "s": 52.258,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41841,
    "c": 0.14626,
    "h": 330.4
  },
  "luminance": 0.06367
}

Semantic roles & 50–950 ramp

primary
#762571
secondary
#4EA954
accent
#DC554C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #762571

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

Preview Lab → · Contrast checker → · Palette generator →

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