#751988#751988

#751988 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.1% C 0.179 H 319.9°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#751988
RGBrgb(117, 25, 136)
HSLhsl(290, 69%, 32%)
HSVhsv(290, 82%, 53%)
CMYKcmyk(14%, 81.6%, 0%, 46.7%)
CIE-LABlab(30.05, 53.23, -41.18)
CIE-LCHlch(30.05, 67.30, 322.28°)
OKLaboklab(42.07% 0.1372 -0.1157)
OKLCHoklch(42.07% 0.179 319.9)
XYZxyz(12.1271, 6.2554, 23.8564)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751988 #2C8819
analogous
#3E1988 #751988 #881964
triadic
#751988 #887519 #198875
tetradic
#751988 #883E19 #2C8819 #196488
square
#751988 #883E19 #2C8819 #196488
split-complementary
#751988 #648819 #19883E
monochromatic
#1C0621 #490F54 #751988 #A123BC #C140DC

Accessibility & contrast

On white

9.33
#751988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#751988 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751988
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751988#FFFFFF#000000##FFFFFF
##7519881.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418B
Deuteranopia (green-blind)
#244A86
Tritanopia (blue-blind)
#753251
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #751988;
/* rgb */ color: rgb(117, 25, 136);
/* oklch */ color: oklch(42.1% 0.179 319.9);
Tailwind
colors: {
  custom: {
    50: '#a162ab',
    500: '#751988',
    950: '#000000',
  },
}
SCSS
$custom: #751988;
$custom-light: #a162ab;
$custom-dark: #000000;
JSON
{
  "hex": "#751988",
  "rgb": {
    "r": 117,
    "g": 25,
    "b": 136
  },
  "hsl": {
    "h": 289.73,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.4207,
    "c": 0.17948,
    "h": 319.9
  },
  "luminance": 0.06255
}

Semantic roles & 50–950 ramp

primary
#751988
secondary
#56BB41
accent
#EC3C5A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #751988

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

Preview Lab → · Contrast checker → · Palette generator →

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