#751D8C#751D8C

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

Color values

HEX#751D8C
RGBrgb(117, 29, 140)
HSLhsl(288, 66%, 33%)
HSVhsv(288, 79%, 55%)
CMYKcmyk(16.4%, 79.3%, 0%, 45.1%)
CIE-LABlab(30.77, 52.73, -42.50)
CIE-LCHlch(30.77, 67.72, 321.13°)
OKLaboklab(42.67% 0.1333 -0.1195)
OKLCHoklch(42.67% 0.179 318.1)
XYZxyz(12.5084, 6.5547, 25.4122)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751D8C #348C1D
analogous
#3E1D8C #751D8C #8C1D6B
triadic
#751D8C #8C751D #1D8C75
tetradic
#751D8C #8C3E1D #348C1D #1D6B8C
square
#751D8C #8C3E1D #348C1D #1D6B8C
split-complementary
#751D8C #6B8C1D #1D8C3E
monochromatic
#200827 #4B1259 #751D8C #9F28BF #BC4AD9

Accessibility & contrast

On white

9.09
#751D8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #751D8C
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751D8C#FFFFFF#000000##FFFFFF
##751D8C1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438F
Deuteranopia (green-blind)
#224B8A
Tritanopia (blue-blind)
#743554
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #751d8c;
/* rgb */ color: rgb(117, 29, 140);
/* oklch */ color: oklch(42.7% 0.179 318.1);
Tailwind
colors: {
  custom: {
    50: '#a164ae',
    500: '#751d8c',
    950: '#000000',
  },
}
SCSS
$custom: #751d8c;
$custom-light: #a164ae;
$custom-dark: #000000;
JSON
{
  "hex": "#751d8c",
  "rgb": {
    "r": 117,
    "g": 29,
    "b": 140
  },
  "hsl": {
    "h": 287.568,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42669,
    "c": 0.17906,
    "h": 318.1
  },
  "luminance": 0.06554
}

Semantic roles & 50–950 ramp

primary
#751D8C
secondary
#61BC49
accent
#E93F62
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #751D8C

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

Preview Lab → · Contrast checker → · Palette generator →

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