#751866#751866

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

Color values

HEX#751866
RGBrgb(117, 24, 102)
HSLhsl(310, 66%, 28%)
HSVhsv(310, 79%, 46%)
CMYKcmyk(0%, 79.5%, 12.8%, 54.1%)
CIE-LABlab(27.83, 47.59, -23.11)
CIE-LCHlch(27.83, 52.90, 334.10°)
OKLaboklab(39.82% 0.1394 -0.0631)
OKLCHoklch(39.82% 0.153 335.6)
XYZxyz(10.0612, 5.3954, 13.0793)
Luminance0.0539 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751866 #187527
analogous
#551875 #751866 #751838
triadic
#751866 #667518 #186675
tetradic
#751866 #755518 #187527 #183875
square
#751866 #755518 #187527 #183875
split-complementary
#751866 #387518 #187555
monochromatic
#190516 #420E3A #751866 #A82292 #D532BB

Accessibility & contrast

On white

10.10
#751866 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#751866 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751866
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751866#FFFFFF#000000##FFFFFF
##7518661.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193968
Deuteranopia (green-blind)
#3A4764
Tritanopia (blue-blind)
#7B203E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #751866;
/* rgb */ color: rgb(117, 24, 102);
/* oklch */ color: oklch(39.8% 0.153 335.6);
Tailwind
colors: {
  custom: {
    50: '#a06092',
    500: '#751866',
    950: '#000000',
  },
}
SCSS
$custom: #751866;
$custom-light: #a06092;
$custom-dark: #000000;
JSON
{
  "hex": "#751866",
  "rgb": {
    "r": 117,
    "g": 24,
    "b": 102
  },
  "hsl": {
    "h": 309.677,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.39818,
    "c": 0.15299,
    "h": 335.6
  },
  "luminance": 0.05394
}

Semantic roles & 50–950 ramp

primary
#751866
secondary
#3FAA50
accent
#E95A3F
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #751866

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

Preview Lab → · Contrast checker → · Palette generator →

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