#751B8F#751B8F

#751B8F is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.7% C 0.184 H 317.1°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#751B8F
RGBrgb(117, 27, 143)
HSLhsl(287, 68%, 33%)
HSVhsv(287, 81%, 56%)
CMYKcmyk(18.2%, 81.1%, 0%, 43.9%)
CIE-LABlab(30.76, 53.97, -44.37)
CIE-LCHlch(30.76, 69.87, 320.58°)
OKLaboklab(42.73% 0.1345 -0.125)
OKLCHoklch(42.73% 0.184 317.1)
XYZxyz(12.6852, 6.5495, 26.5773)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751B8F #358F1B
analogous
#3B1B8F #751B8F #8F1B6F
triadic
#751B8F #8F751B #1B8F75
tetradic
#751B8F #8F3B1B #358F1B #1B6F8F
square
#751B8F #8F3B1B #358F1B #1B6F8F
split-complementary
#751B8F #6F8F1B #1B8F3B
monochromatic
#210828 #4B115C #751B8F #9F25C2 #BB48DC

Accessibility & contrast

On white

9.09
#751B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#751B8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751B8F
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751B8F#FFFFFF#000000##FFFFFF
##751B8F1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#1D4B8D
Tritanopia (blue-blind)
#743655
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #751b8f;
/* rgb */ color: rgb(117, 27, 143);
/* oklch */ color: oklch(42.7% 0.184 317.1);
Tailwind
colors: {
  custom: {
    50: '#a164b0',
    500: '#751b8f',
    950: '#000000',
  },
}
SCSS
$custom: #751b8f;
$custom-light: #a164b0;
$custom-dark: #000000;
JSON
{
  "hex": "#751b8f",
  "rgb": {
    "r": 117,
    "g": 27,
    "b": 143
  },
  "hsl": {
    "h": 286.552,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42728,
    "c": 0.18366,
    "h": 317.1
  },
  "luminance": 0.06549
}

Semantic roles & 50–950 ramp

primary
#751B8F
secondary
#62BE48
accent
#EB3D64
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #751B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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