#751E9B#751E9B

#751E9B is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.9% C 0.192 H 312.7°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#751E9B
RGBrgb(117, 30, 155)
HSLhsl(282, 68%, 36%)
HSVhsv(282, 81%, 61%)
CMYKcmyk(24.5%, 80.6%, 0%, 39.2%)
CIE-LABlab(31.98, 55.44, -49.75)
CIE-LCHlch(31.98, 74.49, 318.09°)
OKLaboklab(43.87% 0.1298 -0.1409)
OKLCHoklch(43.87% 0.192 312.7)
XYZxyz(13.7157, 7.0774, 31.6476)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751E9B #449B1E
analogous
#371E9B #751E9B #9B1E83
triadic
#751E9B #9B751E #1E9B75
tetradic
#751E9B #9B371E #449B1E #1E839B
square
#751E9B #9B371E #449B1E #1E839B
split-complementary
#751E9B #839B1E #1E9B37
monochromatic
#280A34 #4E1468 #751E9B #9C28CE #B555DE

Accessibility & contrast

On white

8.69
#751E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#751E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751E9B
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751E9B#FFFFFF#000000##FFFFFF
##751E9B1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479E
Deuteranopia (green-blind)
#064D98
Tritanopia (blue-blind)
#713D5D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #751e9b;
/* rgb */ color: rgb(117, 30, 155);
/* oklch */ color: oklch(43.9% 0.192 312.7);
Tailwind
colors: {
  custom: {
    50: '#a165b9',
    500: '#751e9b',
    950: '#000000',
  },
}
SCSS
$custom: #751e9b;
$custom-light: #a165b9;
$custom-dark: #000000;
JSON
{
  "hex": "#751e9b",
  "rgb": {
    "r": 117,
    "g": 30,
    "b": 155
  },
  "hsl": {
    "h": 281.76,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43868,
    "c": 0.19152,
    "h": 312.7
  },
  "luminance": 0.07077
}

Semantic roles & 50–950 ramp

primary
#751E9B
secondary
#75C253
accent
#EA3D72
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #751E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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