#751D8D#751D8D

#751D8D is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.7% C 0.180 H 317.7°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#751D8D
RGBrgb(117, 29, 141)
HSLhsl(287, 66%, 33%)
HSVhsv(287, 79%, 55%)
CMYKcmyk(17%, 79.4%, 0%, 44.7%)
CIE-LABlab(30.84, 52.93, -43.00)
CIE-LCHlch(30.84, 68.19, 320.91°)
OKLaboklab(42.74% 0.1332 -0.121)
OKLCHoklch(42.74% 0.18 317.7)
XYZxyz(12.5825, 6.5843, 25.8023)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751D8D #358D1D
analogous
#3D1D8D #751D8D #8D1D6D
triadic
#751D8D #8D751D #1D8D75
tetradic
#751D8D #8D3D1D #358D1D #1D6D8D
square
#751D8D #8D3D1D #358D1D #1D6D8D
split-complementary
#751D8D #6D8D1D #1D8D3D
monochromatic
#210827 #4B135A #751D8D #9F27C0 #BB4BDA

Accessibility & contrast

On white

9.06
#751D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#751D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751D8D
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751D8D#FFFFFF#000000##FFFFFF
##751D8D1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004390
Deuteranopia (green-blind)
#214B8B
Tritanopia (blue-blind)
#743655
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #751d8d;
/* rgb */ color: rgb(117, 29, 141);
/* oklch */ color: oklch(42.7% 0.180 317.7);
Tailwind
colors: {
  custom: {
    50: '#a164af',
    500: '#751d8d',
    950: '#000000',
  },
}
SCSS
$custom: #751d8d;
$custom-light: #a164af;
$custom-dark: #000000;
JSON
{
  "hex": "#751d8d",
  "rgb": {
    "r": 117,
    "g": 29,
    "b": 141
  },
  "hsl": {
    "h": 287.143,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42741,
    "c": 0.17996,
    "h": 317.7
  },
  "luminance": 0.06584
}

Semantic roles & 50–950 ramp

primary
#751D8D
secondary
#62BC4A
accent
#E93F63
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #751D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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