#751986#751986

#751986 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.9% C 0.178 H 320.7°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#751986
RGBrgb(117, 25, 134)
HSLhsl(291, 69%, 31%)
HSVhsv(291, 81%, 53%)
CMYKcmyk(12.7%, 81.3%, 0%, 47.5%)
CIE-LABlab(29.91, 52.85, -40.16)
CIE-LCHlch(29.91, 66.38, 322.77°)
OKLaboklab(41.93% 0.1375 -0.1127)
OKLCHoklch(41.93% 0.178 320.7)
XYZxyz(11.9863, 6.1991, 23.1148)
Luminance0.0620 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751986 #2A8619
analogous
#3E1986 #751986 #861960
triadic
#751986 #867519 #198675
tetradic
#751986 #863E19 #2A8619 #196086
square
#751986 #863E19 #2A8619 #196086
split-complementary
#751986 #608619 #19863E
monochromatic
#1B061F #480F52 #751986 #A223BA #C33EDB

Accessibility & contrast

On white

9.38
#751986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#751986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751986
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751986#FFFFFF#000000##FFFFFF
##7519861.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004089
Deuteranopia (green-blind)
#264A84
Tritanopia (blue-blind)
#763150
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #751986;
/* rgb */ color: rgb(117, 25, 134);
/* oklch */ color: oklch(41.9% 0.178 320.7);
Tailwind
colors: {
  custom: {
    50: '#a062aa',
    500: '#751986',
    950: '#000000',
  },
}
SCSS
$custom: #751986;
$custom-light: #a062aa;
$custom-dark: #000000;
JSON
{
  "hex": "#751986",
  "rgb": {
    "r": 117,
    "g": 25,
    "b": 134
  },
  "hsl": {
    "h": 290.642,
    "s": 68.553,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41929,
    "c": 0.17778,
    "h": 320.7
  },
  "luminance": 0.06198
}

Semantic roles & 50–950 ramp

primary
#751986
secondary
#54BA41
accent
#EB3C58
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #751986

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

Preview Lab → · Contrast checker → · Palette generator →

#751986 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva