#751A9A#751A9A

#751A9A is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.5% C 0.194 H 313.2°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#751A9A
RGBrgb(117, 26, 154)
HSLhsl(283, 71%, 35%)
HSVhsv(283, 83%, 60%)
CMYKcmyk(24%, 83.1%, 0%, 39.6%)
CIE-LABlab(31.47, 56.49, -49.97)
CIE-LCHlch(31.47, 75.42, 318.51°)
OKLaboklab(43.49% 0.1331 -0.1415)
OKLCHoklch(43.49% 0.194 313.2)
XYZxyz(13.5372, 6.8542, 31.1755)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751A9A #3F9A1A
analogous
#351A9A #751A9A #9A1A7F
triadic
#751A9A #9A751A #1A9A75
tetradic
#751A9A #9A351A #3F9A1A #1A7F9A
square
#751A9A #9A351A #3F9A1A #1A7F9A
split-complementary
#751A9A #7F9A1A #1A9A35
monochromatic
#250831 #4D1166 #751A9A #9D23CE #B64DE1

Accessibility & contrast

On white

8.86
#751A9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#751A9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751A9A
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751A9A#FFFFFF#000000##FFFFFF
##751A9A1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469D
Deuteranopia (green-blind)
#024C97
Tritanopia (blue-blind)
#713B5C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #751a9a;
/* rgb */ color: rgb(117, 26, 154);
/* oklch */ color: oklch(43.5% 0.194 313.2);
Tailwind
colors: {
  custom: {
    50: '#a164b9',
    500: '#751a9a',
    950: '#000000',
  },
}
SCSS
$custom: #751a9a;
$custom-light: #a164b9;
$custom-dark: #000000;
JSON
{
  "hex": "#751a9a",
  "rgb": {
    "r": 117,
    "g": 26,
    "b": 154
  },
  "hsl": {
    "h": 282.656,
    "s": 71.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43488,
    "c": 0.19421,
    "h": 313.2
  },
  "luminance": 0.06854
}

Semantic roles & 50–950 ramp

primary
#751A9A
secondary
#6FC34D
accent
#EE3A6E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #751A9A

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

Preview Lab → · Contrast checker → · Palette generator →

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