#751168#751168

#751168 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.4% C 0.161 H 334.5°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#751168
RGBrgb(117, 17, 104)
HSLhsl(308, 75%, 26%)
HSVhsv(308, 85%, 46%)
CMYKcmyk(0%, 85.5%, 11.1%, 54.1%)
CIE-LABlab(27.25, 49.90, -25.32)
CIE-LCHlch(27.25, 55.95, 333.09°)
OKLaboklab(39.44% 0.1454 -0.0694)
OKLCHoklch(39.44% 0.161 334.5)
XYZxyz(10.0354, 5.1832, 13.5660)
Luminance0.0518 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751168 #11751E
analogous
#501175 #751168 #751136
triadic
#751168 #687511 #116875
tetradic
#751168 #755011 #11751E #113675
square
#751168 #755011 #11751E #113675
split-complementary
#751168 #367511 #117550
monochromatic
#1B0418 #400939 #751168 #AA1998 #DF22C6

Accessibility & contrast

On white

10.31
#751168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#751168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751168
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751168#FFFFFF#000000##FFFFFF
##7511681.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F376A
Deuteranopia (green-blind)
#374566
Tritanopia (blue-blind)
#7B1C3D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #751168;
/* rgb */ color: rgb(117, 17, 104);
/* oklch */ color: oklch(39.4% 0.161 334.5);
Tailwind
colors: {
  custom: {
    50: '#a05e93',
    500: '#751168',
    950: '#000000',
  },
}
SCSS
$custom: #751168;
$custom-light: #a05e93;
$custom-dark: #000000;
JSON
{
  "hex": "#751168",
  "rgb": {
    "r": 117,
    "g": 17,
    "b": 104
  },
  "hsl": {
    "h": 307.8,
    "s": 74.627,
    "l": 26.275
  },
  "oklch": {
    "l": 0.39436,
    "c": 0.16113,
    "h": 334.5
  },
  "luminance": 0.05182
}

Semantic roles & 50–950 ramp

primary
#751168
secondary
#36AC45
accent
#F14F37
background
#FAF5F9
surface
#F4EAF1
border
#CEC6CB
text
#0F050D
muted
#7F797E

Preview Lab

Preview with #751168

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

Preview Lab → · Contrast checker → · Palette generator →

#751168 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva