#751C8C#751C8C

#751C8C is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.6% C 0.180 H 318.2°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#751C8C
RGBrgb(117, 28, 140)
HSLhsl(288, 67%, 33%)
HSVhsv(288, 80%, 55%)
CMYKcmyk(16.4%, 80%, 0%, 45.1%)
CIE-LABlab(30.66, 53.06, -42.68)
CIE-LCHlch(30.66, 68.10, 321.19°)
OKLaboklab(42.59% 0.1342 -0.1201)
OKLCHoklch(42.59% 0.18 318.2)
XYZxyz(12.4843, 6.5065, 25.4041)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751C8C #338C1C
analogous
#3D1C8C #751C8C #8C1C6B
triadic
#751C8C #8C751C #1C8C75
tetradic
#751C8C #8C3D1C #338C1C #1C6B8C
square
#751C8C #8C3D1C #338C1C #1C6B8C
split-complementary
#751C8C #6B8C1C #1C8C3D
monochromatic
#200826 #4A1259 #751C8C #A026BF #BC48DA

Accessibility & contrast

On white

9.13
#751C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#751C8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751C8C
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751C8C#FFFFFF#000000##FFFFFF
##751C8C1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438F
Deuteranopia (green-blind)
#214B8A
Tritanopia (blue-blind)
#743554
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #751c8c;
/* rgb */ color: rgb(117, 28, 140);
/* oklch */ color: oklch(42.6% 0.180 318.2);
Tailwind
colors: {
  custom: {
    50: '#a164ae',
    500: '#751c8c',
    950: '#000000',
  },
}
SCSS
$custom: #751c8c;
$custom-light: #a164ae;
$custom-dark: #000000;
JSON
{
  "hex": "#751c8c",
  "rgb": {
    "r": 117,
    "g": 28,
    "b": 140
  },
  "hsl": {
    "h": 287.679,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42588,
    "c": 0.18006,
    "h": 318.2
  },
  "luminance": 0.06506
}

Semantic roles & 50–950 ramp

primary
#751C8C
secondary
#5FBC48
accent
#EA3E61
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #751C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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