#751F94#751F94

#751F94 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.4% C 0.184 H 315.0°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#751F94
RGBrgb(117, 31, 148)
HSLhsl(284, 65%, 35%)
HSVhsv(284, 79%, 58%)
CMYKcmyk(20.9%, 79.1%, 0%, 42%)
CIE-LABlab(31.58, 53.65, -46.13)
CIE-LCHlch(31.58, 70.75, 319.31°)
OKLaboklab(43.42% 0.1303 -0.1302)
OKLCHoklch(43.42% 0.184 315)
XYZxyz(13.1705, 6.9005, 28.6494)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751F94 #3E941F
analogous
#3B1F94 #751F94 #941F78
triadic
#751F94 #94751F #1F9475
tetradic
#751F94 #943B1F #3E941F #1F7894
square
#751F94 #943B1F #3E941F #1F7894
split-complementary
#751F94 #78941F #1F943B
monochromatic
#250A2F #4D1461 #751F94 #9D2AC7 #B753DB

Accessibility & contrast

On white

8.82
#751F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#751F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751F94
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751F94#FFFFFF#000000##FFFFFF
##751F941.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004697
Deuteranopia (green-blind)
#194C92
Tritanopia (blue-blind)
#723A59
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #751f94;
/* rgb */ color: rgb(117, 31, 148);
/* oklch */ color: oklch(43.4% 0.184 315.0);
Tailwind
colors: {
  custom: {
    50: '#a165b4',
    500: '#751f94',
    950: '#000000',
  },
}
SCSS
$custom: #751f94;
$custom-light: #a165b4;
$custom-dark: #000000;
JSON
{
  "hex": "#751f94",
  "rgb": {
    "r": 117,
    "g": 31,
    "b": 148
  },
  "hsl": {
    "h": 284.103,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43421,
    "c": 0.1842,
    "h": 315
  },
  "luminance": 0.069
}

Semantic roles & 50–950 ramp

primary
#751F94
secondary
#6EBE51
accent
#E83F6C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #751F94

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

Preview Lab → · Contrast checker → · Palette generator →

#751F94 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva