#751D8E#751D8E

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

Color values

HEX#751D8E
RGBrgb(117, 29, 142)
HSLhsl(287, 66%, 34%)
HSVhsv(287, 80%, 56%)
CMYKcmyk(17.6%, 79.6%, 0%, 44.3%)
CIE-LABlab(30.91, 53.12, -43.51)
CIE-LCHlch(30.91, 68.67, 320.68°)
OKLaboklab(42.81% 0.133 -0.1225)
OKLCHoklch(42.81% 0.181 317.4)
XYZxyz(12.6573, 6.6142, 26.1959)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751D8E #368E1D
analogous
#3C1D8E #751D8E #8E1D6E
triadic
#751D8E #8E751D #1D8E75
tetradic
#751D8E #8E3C1D #368E1D #1D6E8E
square
#751D8E #8E3C1D #368E1D #1D6E8E
split-complementary
#751D8E #6E8E1D #1D8E3C
monochromatic
#210828 #4B135B #751D8E #9F27C1 #BB4BDA

Accessibility & contrast

On white

9.04
#751D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #751D8E
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751D8E#FFFFFF#000000##FFFFFF
##751D8E1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004391
Deuteranopia (green-blind)
#204B8C
Tritanopia (blue-blind)
#743655
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #751d8e;
/* rgb */ color: rgb(117, 29, 142);
/* oklch */ color: oklch(42.8% 0.181 317.4);
Tailwind
colors: {
  custom: {
    50: '#a164b0',
    500: '#751d8e',
    950: '#000000',
  },
}
SCSS
$custom: #751d8e;
$custom-light: #a164b0;
$custom-dark: #000000;
JSON
{
  "hex": "#751d8e",
  "rgb": {
    "r": 117,
    "g": 29,
    "b": 142
  },
  "hsl": {
    "h": 286.726,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42814,
    "c": 0.18084,
    "h": 317.4
  },
  "luminance": 0.06614
}

Semantic roles & 50–950 ramp

primary
#751D8E
secondary
#64BD4A
accent
#E93F64
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #751D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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