#751976#751976

#751976 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.9% C 0.164 H 327.6°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#751976
RGBrgb(117, 25, 118)
HSLhsl(299, 65%, 28%)
HSVhsv(299, 79%, 46%)
CMYKcmyk(0.8%, 78.8%, 0%, 53.7%)
CIE-LABlab(28.87, 49.93, -31.75)
CIE-LCHlch(28.87, 59.17, 327.55°)
OKLaboklab(40.86% 0.1388 -0.0881)
OKLCHoklch(40.86% 0.164 327.6)
XYZxyz(10.9536, 5.7860, 17.6759)
Luminance0.0578 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751976 #1A7619
analogous
#461976 #751976 #761948
triadic
#751976 #767519 #197675
tetradic
#751976 #764619 #1A7619 #194876
square
#751976 #764619 #1A7619 #194876
split-complementary
#751976 #487619 #197646
monochromatic
#190519 #430E43 #751976 #A724A8 #D335D4

Accessibility & contrast

On white

9.74
#751976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#751976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751976
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751976#FFFFFF#000000##FFFFFF
##7519761.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013D78
Deuteranopia (green-blind)
#324874
Tritanopia (blue-blind)
#792947
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #751976;
/* rgb */ color: rgb(117, 25, 118);
/* oklch */ color: oklch(40.9% 0.164 327.6);
Tailwind
colors: {
  custom: {
    50: '#a0629e',
    500: '#751976',
    950: '#000000',
  },
}
SCSS
$custom: #751976;
$custom-light: #a0629e;
$custom-dark: #000000;
JSON
{
  "hex": "#751976",
  "rgb": {
    "r": 117,
    "g": 25,
    "b": 118
  },
  "hsl": {
    "h": 299.355,
    "s": 65.035,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40855,
    "c": 0.16443,
    "h": 327.6
  },
  "luminance": 0.05785
}

Semantic roles & 50–950 ramp

primary
#751976
secondary
#41AB40
accent
#E84042
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #751976

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

Preview Lab → · Contrast checker → · Palette generator →

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