#751E8D#751E8D

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

Color values

HEX#751E8D
RGBrgb(117, 30, 141)
HSLhsl(287, 65%, 34%)
HSVhsv(287, 79%, 55%)
CMYKcmyk(17%, 78.7%, 0%, 44.7%)
CIE-LABlab(30.96, 52.59, -42.81)
CIE-LCHlch(30.96, 67.81, 320.85°)
OKLaboklab(42.83% 0.1323 -0.1205)
OKLCHoklch(42.83% 0.179 317.7)
XYZxyz(12.6074, 6.6341, 25.8106)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751E8D #368D1E
analogous
#3D1E8D #751E8D #8D1E6D
triadic
#751E8D #8D751E #1E8D75
tetradic
#751E8D #8D3D1E #368D1E #1E6D8D
square
#751E8D #8D3D1E #368D1E #1E6D8D
split-complementary
#751E8D #6D8D1E #1E8D3D
monochromatic
#210928 #4B135B #751E8D #9F29BF #BB4CD9

Accessibility & contrast

On white

9.03
#751E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#751E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751E8D
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751E8D#FFFFFF#000000##FFFFFF
##751E8D1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #751e8d;
/* rgb */ color: rgb(117, 30, 141);
/* oklch */ color: oklch(42.8% 0.179 317.7);
Tailwind
colors: {
  custom: {
    50: '#a165af',
    500: '#751e8d',
    950: '#000000',
  },
}
SCSS
$custom: #751e8d;
$custom-light: #a165af;
$custom-dark: #000000;
JSON
{
  "hex": "#751e8d",
  "rgb": {
    "r": 117,
    "g": 30,
    "b": 141
  },
  "hsl": {
    "h": 287.027,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42825,
    "c": 0.17894,
    "h": 317.7
  },
  "luminance": 0.06634
}

Semantic roles & 50–950 ramp

primary
#751E8D
secondary
#64BC4B
accent
#E84064
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #751E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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