#751B85#751B85

#751B85 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.0% C 0.175 H 321.0°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#751B85
RGBrgb(117, 27, 133)
HSLhsl(291, 66%, 31%)
HSVhsv(291, 80%, 52%)
CMYKcmyk(12%, 79.7%, 0%, 47.8%)
CIE-LABlab(30.06, 52.03, -39.29)
CIE-LCHlch(30.06, 65.20, 322.94°)
OKLaboklab(42.01% 0.136 -0.1101)
OKLCHoklch(42.01% 0.175 321)
XYZxyz(11.9612, 6.2599, 22.7640)
Luminance0.0626 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751B85 #2B851B
analogous
#401B85 #751B85 #851B60
triadic
#751B85 #85751B #1B8575
tetradic
#751B85 #85401B #2B851B #1B6085
square
#751B85 #85401B #2B851B #1B6085
split-complementary
#751B85 #60851B #1B8540
monochromatic
#1B061F #481152 #751B85 #A225B8 #C242D9

Accessibility & contrast

On white

9.33
#751B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#751B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##751B85#FFFFFF#000000##FFFFFF
##751B851.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)
#004188
Deuteranopia (green-blind)
#284A83
Tritanopia (blue-blind)
#763150
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #751b85;
/* rgb */ color: rgb(117, 27, 133);
/* oklch */ color: oklch(42.0% 0.175 321.0);
Tailwind
colors: {
  custom: {
    50: '#a063a9',
    500: '#751b85',
    950: '#000000',
  },
}
SCSS
$custom: #751b85;
$custom-light: #a063a9;
$custom-dark: #000000;
JSON
{
  "hex": "#751b85",
  "rgb": {
    "r": 117,
    "g": 27,
    "b": 133
  },
  "hsl": {
    "h": 290.943,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42013,
    "c": 0.17498,
    "h": 321
  },
  "luminance": 0.06259
}

Semantic roles & 50–950 ramp

primary
#751B85
secondary
#55B844
accent
#E93F58
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #751B85

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

Preview Lab → · Contrast checker → · Palette generator →

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