#751F7C#751F7C

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

Color values

HEX#751F7C
RGBrgb(117, 31, 124)
HSLhsl(295, 60%, 30%)
HSVhsv(295, 75%, 49%)
CMYKcmyk(5.6%, 75%, 0%, 51.4%)
CIE-LABlab(29.96, 48.96, -33.81)
CIE-LCHlch(29.96, 59.50, 325.37°)
OKLaboklab(41.75% 0.1329 -0.0941)
OKLCHoklch(41.75% 0.163 324.7)
XYZxyz(11.4639, 6.2178, 19.6612)
Luminance0.0622 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751F7C #267C1F
analogous
#461F7C #751F7C #7C1F54
triadic
#751F7C #7C751F #1F7C75
tetradic
#751F7C #7C461F #267C1F #1F547C
square
#751F7C #7C461F #267C1F #1F547C
split-complementary
#751F7C #547C1F #1F7C46
monochromatic
#19071A #47134B #751F7C #A32BAD #C645D0

Accessibility & contrast

On white

9.36
#751F7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #751F7C
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751F7C#FFFFFF#000000##FFFFFF
##751F7C1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01407F
Deuteranopia (green-blind)
#314A7A
Tritanopia (blue-blind)
#782F4C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #751f7c;
/* rgb */ color: rgb(117, 31, 124);
/* oklch */ color: oklch(41.8% 0.163 324.7);
Tailwind
colors: {
  custom: {
    50: '#a064a2',
    500: '#751f7c',
    950: '#000000',
  },
}
SCSS
$custom: #751f7c;
$custom-light: #a064a2;
$custom-dark: #000000;
JSON
{
  "hex": "#751f7c",
  "rgb": {
    "r": 117,
    "g": 31,
    "b": 124
  },
  "hsl": {
    "h": 295.484,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41752,
    "c": 0.16287,
    "h": 324.7
  },
  "luminance": 0.06217
}

Semantic roles & 50–950 ramp

primary
#751F7C
secondary
#4FAF48
accent
#E34551
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #751F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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