#751B89#751B89

#751B89 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.3% C 0.178 H 319.4°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#751B89
RGBrgb(117, 27, 137)
HSLhsl(289, 67%, 32%)
HSVhsv(289, 80%, 54%)
CMYKcmyk(14.6%, 80.3%, 0%, 46.3%)
CIE-LABlab(30.33, 52.80, -41.34)
CIE-LCHlch(30.33, 67.06, 321.94°)
OKLaboklab(42.29% 0.1354 -0.1161)
OKLCHoklch(42.29% 0.178 319.4)
XYZxyz(12.2428, 6.3725, 24.2472)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751B89 #2F891B
analogous
#3E1B89 #751B89 #891B66
triadic
#751B89 #89751B #1B8975
tetradic
#751B89 #893E1B #2F891B #1B6689
square
#751B89 #893E1B #2F891B #1B6689
split-complementary
#751B89 #66891B #1B893E
monochromatic
#1E0723 #491156 #751B89 #A125BC #BF44DA

Accessibility & contrast

On white

9.23
#751B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#751B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751B89
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751B89#FFFFFF#000000##FFFFFF
##751B891.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428C
Deuteranopia (green-blind)
#244A87
Tritanopia (blue-blind)
#753352
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #751b89;
/* rgb */ color: rgb(117, 27, 137);
/* oklch */ color: oklch(42.3% 0.178 319.4);
Tailwind
colors: {
  custom: {
    50: '#a163ac',
    500: '#751b89',
    950: '#000000',
  },
}
SCSS
$custom: #751b89;
$custom-light: #a163ac;
$custom-dark: #000000;
JSON
{
  "hex": "#751b89",
  "rgb": {
    "r": 117,
    "g": 27,
    "b": 137
  },
  "hsl": {
    "h": 289.091,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42294,
    "c": 0.17843,
    "h": 319.4
  },
  "luminance": 0.06372
}

Semantic roles & 50–950 ramp

primary
#751B89
secondary
#5ABC44
accent
#EA3E5D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #751B89

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

Preview Lab → · Contrast checker → · Palette generator →

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