#751266#751266

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

Color values

HEX#751266
RGBrgb(117, 18, 102)
HSLhsl(309, 73%, 26%)
HSVhsv(309, 85%, 46%)
CMYKcmyk(0%, 84.6%, 12.8%, 54.1%)
CIE-LABlab(27.23, 49.33, -24.06)
CIE-LCHlch(27.23, 54.89, 334.00°)
OKLaboklab(39.38% 0.1446 -0.0658)
OKLCHoklch(39.38% 0.159 335.5)
XYZxyz(9.9509, 5.1748, 13.0426)
Luminance0.0517 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751266 #127521
analogous
#531275 #751266 #751235
triadic
#751266 #667512 #126675
tetradic
#751266 #755312 #127521 #123575
square
#751266 #755312 #127521 #123575
split-complementary
#751266 #357512 #127553
monochromatic
#1B0417 #400A38 #751266 #AA1A94 #DD24C1

Accessibility & contrast

On white

10.32
#751266 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #751266
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751266#FFFFFF#000000##FFFFFF
##7512661.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123768
Deuteranopia (green-blind)
#394564
Tritanopia (blue-blind)
#7B1C3C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #751266;
/* rgb */ color: rgb(117, 18, 102);
/* oklch */ color: oklch(39.4% 0.159 335.5);
Tailwind
colors: {
  custom: {
    50: '#a05e92',
    500: '#751266',
    950: '#000000',
  },
}
SCSS
$custom: #751266;
$custom-light: #a05e92;
$custom-dark: #000000;
JSON
{
  "hex": "#751266",
  "rgb": {
    "r": 117,
    "g": 18,
    "b": 102
  },
  "hsl": {
    "h": 309.091,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.39383,
    "c": 0.15882,
    "h": 335.5
  },
  "luminance": 0.05174
}

Semantic roles & 50–950 ramp

primary
#751266
secondary
#37AC49
accent
#F05438
background
#FAF5F9
surface
#F4EAF1
border
#CEC6CB
text
#0F050D
muted
#7F797E

Preview Lab

Preview with #751266

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

Preview Lab → · Contrast checker → · Palette generator →

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