#751C8D#751C8D

#751C8D is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.7% C 0.181 H 317.8°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#751C8D
RGBrgb(117, 28, 141)
HSLhsl(287, 67%, 33%)
HSVhsv(287, 80%, 55%)
CMYKcmyk(17%, 80.1%, 0%, 44.7%)
CIE-LABlab(30.73, 53.26, -43.19)
CIE-LCHlch(30.73, 68.57, 320.96°)
OKLaboklab(42.66% 0.134 -0.1216)
OKLCHoklch(42.66% 0.181 317.8)
XYZxyz(12.5584, 6.5361, 25.7942)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751C8D #348D1C
analogous
#3D1C8D #751C8D #8D1C6C
triadic
#751C8D #8D751C #1C8D75
tetradic
#751C8D #8D3D1C #348D1C #1C6C8D
square
#751C8D #8D3D1C #348D1C #1C6C8D
split-complementary
#751C8D #6C8D1C #1C8D3D
monochromatic
#200827 #4B125A #751C8D #9F26C0 #BC49DB

Accessibility & contrast

On white

9.10
#751C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#751C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751C8D
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751C8D#FFFFFF#000000##FFFFFF
##751C8D1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004390
Deuteranopia (green-blind)
#204B8B
Tritanopia (blue-blind)
#743555
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #751c8d;
/* rgb */ color: rgb(117, 28, 141);
/* oklch */ color: oklch(42.7% 0.181 317.8);
Tailwind
colors: {
  custom: {
    50: '#a164af',
    500: '#751c8d',
    950: '#000000',
  },
}
SCSS
$custom: #751c8d;
$custom-light: #a164af;
$custom-dark: #000000;
JSON
{
  "hex": "#751c8d",
  "rgb": {
    "r": 117,
    "g": 28,
    "b": 141
  },
  "hsl": {
    "h": 287.257,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42661,
    "c": 0.18094,
    "h": 317.8
  },
  "luminance": 0.06536
}

Semantic roles & 50–950 ramp

primary
#751C8D
secondary
#61BD48
accent
#EA3E63
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #751C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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