#751F95#751F95

#751F95 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.5% C 0.185 H 314.7°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#751F95
RGBrgb(117, 31, 149)
HSLhsl(284, 66%, 35%)
HSVhsv(284, 79%, 58%)
CMYKcmyk(21.5%, 79.2%, 0%, 41.6%)
CIE-LABlab(31.65, 53.86, -46.62)
CIE-LCHlch(31.65, 71.23, 319.12°)
OKLaboklab(43.5% 0.1301 -0.1317)
OKLCHoklch(43.5% 0.185 314.7)
XYZxyz(13.2500, 6.9323, 29.0680)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751F95 #3F951F
analogous
#3A1F95 #751F95 #951F7A
triadic
#751F95 #95751F #1F9575
tetradic
#751F95 #953A1F #3F951F #1F7A95
square
#751F95 #953A1F #3F951F #1F7A95
split-complementary
#751F95 #7A951F #1F953A
monochromatic
#250A30 #4D1462 #751F95 #9D2AC8 #B653DB

Accessibility & contrast

On white

8.80
#751F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#751F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751F95
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751F95#FFFFFF#000000##FFFFFF
##751F951.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004698
Deuteranopia (green-blind)
#174D93
Tritanopia (blue-blind)
#723B5A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #751f95;
/* rgb */ color: rgb(117, 31, 149);
/* oklch */ color: oklch(43.5% 0.185 314.7);
Tailwind
colors: {
  custom: {
    50: '#a165b5',
    500: '#751f95',
    950: '#000000',
  },
}
SCSS
$custom: #751f95;
$custom-light: #a165b5;
$custom-dark: #000000;
JSON
{
  "hex": "#751f95",
  "rgb": {
    "r": 117,
    "g": 31,
    "b": 149
  },
  "hsl": {
    "h": 283.729,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43495,
    "c": 0.18511,
    "h": 314.7
  },
  "luminance": 0.06932
}

Semantic roles & 50–950 ramp

primary
#751F95
secondary
#6FBF51
accent
#E93F6D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #751F95

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

Preview Lab → · Contrast checker → · Palette generator →

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