#751B82#751B82

#751B82 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.8% C 0.172 H 322.2°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#751B82
RGBrgb(117, 27, 130)
HSLhsl(292, 66%, 31%)
HSVhsv(292, 79%, 51%)
CMYKcmyk(10%, 79.2%, 0%, 49%)
CIE-LABlab(29.86, 51.47, -37.74)
CIE-LCHlch(29.86, 63.82, 323.75°)
OKLaboklab(41.81% 0.1363 -0.1056)
OKLCHoklch(41.81% 0.172 322.2)
XYZxyz(11.7569, 6.1782, 21.6880)
Luminance0.0618 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751B82 #28821B
analogous
#411B82 #751B82 #821B5B
triadic
#751B82 #82751B #1B8275
tetradic
#751B82 #82411B #28821B #1B5B82
square
#751B82 #82411B #28821B #1B5B82
split-complementary
#751B82 #5B821B #1B8241
monochromatic
#1A061D #47104F #751B82 #A326B5 #C440D7

Accessibility & contrast

On white

9.39
#751B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#751B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751B82
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751B82#FFFFFF#000000##FFFFFF
##751B821.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004085
Deuteranopia (green-blind)
#2B4A80
Tritanopia (blue-blind)
#76304E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #751b82;
/* rgb */ color: rgb(117, 27, 130);
/* oklch */ color: oklch(41.8% 0.172 322.2);
Tailwind
colors: {
  custom: {
    50: '#a063a7',
    500: '#751b82',
    950: '#000000',
  },
}
SCSS
$custom: #751b82;
$custom-light: #a063a7;
$custom-dark: #000000;
JSON
{
  "hex": "#751b82",
  "rgb": {
    "r": 117,
    "g": 27,
    "b": 130
  },
  "hsl": {
    "h": 292.427,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41806,
    "c": 0.17241,
    "h": 322.2
  },
  "luminance": 0.06177
}

Semantic roles & 50–950 ramp

primary
#751B82
secondary
#52B643
accent
#E93F55
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #751B82

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

Preview Lab → · Contrast checker → · Palette generator →

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