#751766#751766

#751766 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.7% C 0.154 H 335.6°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#751766
RGBrgb(117, 23, 102)
HSLhsl(310, 67%, 27%)
HSVhsv(310, 80%, 46%)
CMYKcmyk(0%, 80.3%, 12.8%, 54.1%)
CIE-LABlab(27.72, 47.90, -23.28)
CIE-LCHlch(27.72, 53.26, 334.08°)
OKLaboklab(39.74% 0.1403 -0.0636)
OKLCHoklch(39.74% 0.154 335.6)
XYZxyz(10.0409, 5.3549, 13.0726)
Luminance0.0535 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751766 #177526
analogous
#551775 #751766 #751737
triadic
#751766 #667517 #176675
tetradic
#751766 #755517 #177526 #173775
square
#751766 #755517 #177526 #173775
split-complementary
#751766 #377517 #177555
monochromatic
#1A0516 #420D39 #751766 #A82193 #D630BC

Accessibility & contrast

On white

10.14
#751766 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#751766 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751766
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751766#FFFFFF#000000##FFFFFF
##7517661.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183968
Deuteranopia (green-blind)
#3A4664
Tritanopia (blue-blind)
#7B1F3D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #751766;
/* rgb */ color: rgb(117, 23, 102);
/* oklch */ color: oklch(39.7% 0.154 335.6);
Tailwind
colors: {
  custom: {
    50: '#a06092',
    500: '#751766',
    950: '#000000',
  },
}
SCSS
$custom: #751766;
$custom-light: #a06092;
$custom-dark: #000000;
JSON
{
  "hex": "#751766",
  "rgb": {
    "r": 117,
    "g": 23,
    "b": 102
  },
  "hsl": {
    "h": 309.574,
    "s": 67.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.39739,
    "c": 0.15405,
    "h": 335.6
  },
  "luminance": 0.05354
}

Semantic roles & 50–950 ramp

primary
#751766
secondary
#3DAA4F
accent
#EA593E
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #751766

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

Preview Lab → · Contrast checker → · Palette generator →

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