#751981#751981

#751981 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.6% C 0.174 H 322.7°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#751981
RGBrgb(117, 25, 129)
HSLhsl(293, 68%, 30%)
HSVhsv(293, 81%, 51%)
CMYKcmyk(9.3%, 80.6%, 0%, 49.4%)
CIE-LABlab(29.57, 51.92, -37.57)
CIE-LCHlch(29.57, 64.08, 324.11°)
OKLaboklab(41.58% 0.1381 -0.1051)
OKLCHoklch(41.58% 0.174 322.7)
XYZxyz(11.6458, 6.0628, 21.3215)
Luminance0.0606 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751981 #258119
analogous
#411981 #751981 #811959
triadic
#751981 #817519 #198175
tetradic
#751981 #814119 #258119 #195981
square
#751981 #814119 #258119 #195981
split-complementary
#751981 #598119 #198141
monochromatic
#18051A #470F4E #751981 #A323B4 #C73BD9

Accessibility & contrast

On white

9.49
#751981 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#751981 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751981
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751981#FFFFFF#000000##FFFFFF
##7519811.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F84
Deuteranopia (green-blind)
#2B497F
Tritanopia (blue-blind)
#772E4D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #751981;
/* rgb */ color: rgb(117, 25, 129);
/* oklch */ color: oklch(41.6% 0.174 322.7);
Tailwind
colors: {
  custom: {
    50: '#a062a6',
    500: '#751981',
    950: '#000000',
  },
}
SCSS
$custom: #751981;
$custom-light: #a062a6;
$custom-dark: #000000;
JSON
{
  "hex": "#751981",
  "rgb": {
    "r": 117,
    "g": 25,
    "b": 129
  },
  "hsl": {
    "h": 293.077,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41581,
    "c": 0.17355,
    "h": 322.7
  },
  "luminance": 0.06062
}

Semantic roles & 50–950 ramp

primary
#751981
secondary
#4EB541
accent
#EA3D51
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #751981

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

Preview Lab → · Contrast checker → · Palette generator →

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