#751871#751871

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

Color values

HEX#751871
RGBrgb(117, 24, 113)
HSLhsl(303, 66%, 28%)
HSVhsv(303, 79%, 46%)
CMYKcmyk(0%, 79.5%, 3.4%, 54.1%)
CIE-LABlab(28.45, 49.38, -29.21)
CIE-LCHlch(28.45, 57.38, 329.39°)
OKLaboklab(40.46% 0.1398 -0.0807)
OKLCHoklch(40.46% 0.161 330)
XYZxyz(10.6433, 5.6283, 16.1454)
Luminance0.0563 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751871 #18751C
analogous
#4B1875 #751871 #751842
triadic
#751871 #717518 #187175
tetradic
#751871 #754B18 #18751C #184275
square
#751871 #754B18 #18751C #184275
split-complementary
#751871 #427518 #18754B
monochromatic
#190519 #420E40 #751871 #A822A2 #D532CE

Accessibility & contrast

On white

9.88
#751871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #751871
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751871#FFFFFF#000000##FFFFFF
##7518711.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093B73
Deuteranopia (green-blind)
#35476F
Tritanopia (blue-blind)
#7A2544
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #751871;
/* rgb */ color: rgb(117, 24, 113);
/* oklch */ color: oklch(40.5% 0.161 330.0);
Tailwind
colors: {
  custom: {
    50: '#a0619a',
    500: '#751871',
    950: '#000000',
  },
}
SCSS
$custom: #751871;
$custom-light: #a0619a;
$custom-dark: #000000;
JSON
{
  "hex": "#751871",
  "rgb": {
    "r": 117,
    "g": 24,
    "b": 113
  },
  "hsl": {
    "h": 302.581,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.40464,
    "c": 0.16145,
    "h": 330
  },
  "luminance": 0.05627
}

Semantic roles & 50–950 ramp

primary
#751871
secondary
#3FAA43
accent
#E9463F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #751871

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

Preview Lab → · Contrast checker → · Palette generator →

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