#751971#751971

#751971 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.5% C 0.160 H 330.0°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#751971
RGBrgb(117, 25, 113)
HSLhsl(303, 65%, 28%)
HSVhsv(303, 79%, 46%)
CMYKcmyk(0%, 78.6%, 3.4%, 54.1%)
CIE-LABlab(28.56, 49.07, -29.04)
CIE-LCHlch(28.56, 57.02, 329.38°)
OKLaboklab(40.54% 0.1389 -0.0802)
OKLCHoklch(40.54% 0.16 330)
XYZxyz(10.6643, 5.6703, 16.1524)
Luminance0.0567 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751971 #19751D
analogous
#4B1975 #751971 #751943
triadic
#751971 #717519 #197175
tetradic
#751971 #754B19 #19751D #194375
square
#751971 #754B19 #19751D #194375
split-complementary
#751971 #437519 #19754B
monochromatic
#190518 #430E40 #751971 #A724A2 #D435CD

Accessibility & contrast

On white

9.84
#751971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#751971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751971
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751971#FFFFFF#000000##FFFFFF
##7519711.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3B73
Deuteranopia (green-blind)
#35486F
Tritanopia (blue-blind)
#7A2644
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #751971;
/* rgb */ color: rgb(117, 25, 113);
/* oklch */ color: oklch(40.5% 0.160 330.0);
Tailwind
colors: {
  custom: {
    50: '#a0619a',
    500: '#751971',
    950: '#000000',
  },
}
SCSS
$custom: #751971;
$custom-light: #a0619a;
$custom-dark: #000000;
JSON
{
  "hex": "#751971",
  "rgb": {
    "r": 117,
    "g": 25,
    "b": 113
  },
  "hsl": {
    "h": 302.609,
    "s": 64.789,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40543,
    "c": 0.16041,
    "h": 330
  },
  "luminance": 0.05669
}

Semantic roles & 50–950 ramp

primary
#751971
secondary
#40AA44
accent
#E84740
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #751971

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

Preview Lab → · Contrast checker → · Palette generator →

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