#751A8D#751A8D

#751A8D is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.5% C 0.183 H 317.9°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#751A8D
RGBrgb(117, 26, 141)
HSLhsl(287, 69%, 33%)
HSVhsv(287, 82%, 55%)
CMYKcmyk(17%, 81.6%, 0%, 44.7%)
CIE-LABlab(30.51, 53.89, -43.54)
CIE-LCHlch(30.51, 69.28, 321.06°)
OKLaboklab(42.51% 0.1357 -0.1226)
OKLCHoklch(42.51% 0.183 317.9)
XYZxyz(12.5125, 6.4444, 25.7789)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751A8D #328D1A
analogous
#3B1A8D #751A8D #8D1A6C
triadic
#751A8D #8D751A #1A8D75
tetradic
#751A8D #8D3B1A #328D1A #1A6C8D
square
#751A8D #8D3B1A #328D1A #1A6C8D
split-complementary
#751A8D #6C8D1A #1A8D3B
monochromatic
#1F0726 #4A1059 #751A8D #A024C1 #BD45DD

Accessibility & contrast

On white

9.18
#751A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#751A8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751A8D
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751A8D#FFFFFF#000000##FFFFFF
##751A8D1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004290
Deuteranopia (green-blind)
#1F4A8B
Tritanopia (blue-blind)
#743554
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #751a8d;
/* rgb */ color: rgb(117, 26, 141);
/* oklch */ color: oklch(42.5% 0.183 317.9);
Tailwind
colors: {
  custom: {
    50: '#a163af',
    500: '#751a8d',
    950: '#000000',
  },
}
SCSS
$custom: #751a8d;
$custom-light: #a163af;
$custom-dark: #000000;
JSON
{
  "hex": "#751a8d",
  "rgb": {
    "r": 117,
    "g": 26,
    "b": 141
  },
  "hsl": {
    "h": 287.478,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42506,
    "c": 0.18285,
    "h": 317.9
  },
  "luminance": 0.06444
}

Semantic roles & 50–950 ramp

primary
#751A8D
secondary
#5EBE45
accent
#EC3C61
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #751A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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