#751166#751166

#751166 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.3% C 0.160 H 335.5°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#751166
RGBrgb(117, 17, 102)
HSLhsl(309, 75%, 26%)
HSVhsv(309, 85%, 46%)
CMYKcmyk(0%, 85.5%, 12.8%, 54.1%)
CIE-LABlab(27.14, 49.59, -24.20)
CIE-LCHlch(27.14, 55.18, 333.99°)
OKLaboklab(39.32% 0.1453 -0.0662)
OKLCHoklch(39.32% 0.16 335.5)
XYZxyz(9.9350, 5.1431, 13.0373)
Luminance0.0514 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751166 #117520
analogous
#521175 #751166 #751134
triadic
#751166 #667511 #116675
tetradic
#751166 #755211 #117520 #113475
square
#751166 #755211 #117520 #113475
split-complementary
#751166 #347511 #117552
monochromatic
#1B0417 #400937 #751166 #AA1995 #DF22C2

Accessibility & contrast

On white

10.35
#751166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#751166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751166
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751166#FFFFFF#000000##FFFFFF
##7511661.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113768
Deuteranopia (green-blind)
#384564
Tritanopia (blue-blind)
#7B1B3C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #751166;
/* rgb */ color: rgb(117, 17, 102);
/* oklch */ color: oklch(39.3% 0.160 335.5);
Tailwind
colors: {
  custom: {
    50: '#a05e92',
    500: '#751166',
    950: '#000000',
  },
}
SCSS
$custom: #751166;
$custom-light: #a05e92;
$custom-dark: #000000;
JSON
{
  "hex": "#751166",
  "rgb": {
    "r": 117,
    "g": 17,
    "b": 102
  },
  "hsl": {
    "h": 309,
    "s": 74.627,
    "l": 26.275
  },
  "oklch": {
    "l": 0.3932,
    "c": 0.15969,
    "h": 335.5
  },
  "luminance": 0.05142
}

Semantic roles & 50–950 ramp

primary
#751166
secondary
#36AC48
accent
#F15337
background
#FAF5F9
surface
#F4EAF1
border
#CEC6CB
text
#0F050D
muted
#7F797E

Preview Lab

Preview with #751166

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

Preview Lab → · Contrast checker → · Palette generator →

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