#751872#751872

#751872 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.5% C 0.162 H 329.5°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#751872
RGBrgb(117, 24, 114)
HSLhsl(302, 66%, 28%)
HSVhsv(302, 79%, 46%)
CMYKcmyk(0%, 79.5%, 2.6%, 54.1%)
CIE-LABlab(28.51, 49.55, -29.76)
CIE-LCHlch(28.51, 57.80, 329.02°)
OKLaboklab(40.53% 0.1398 -0.0823)
OKLCHoklch(40.53% 0.162 329.5)
XYZxyz(10.6999, 5.6509, 16.4435)
Luminance0.0565 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751872 #18751B
analogous
#491875 #751872 #751844
triadic
#751872 #727518 #187275
tetradic
#751872 #754918 #18751B #184475
square
#751872 #754918 #18751B #184475
split-complementary
#751872 #447518 #187549
monochromatic
#190519 #420E41 #751872 #A822A3 #D532D0

Accessibility & contrast

On white

9.86
#751872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#751872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751872
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751872#FFFFFF#000000##FFFFFF
##7518721.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073B74
Deuteranopia (green-blind)
#344870
Tritanopia (blue-blind)
#792644
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #751872;
/* rgb */ color: rgb(117, 24, 114);
/* oklch */ color: oklch(40.5% 0.162 329.5);
Tailwind
colors: {
  custom: {
    50: '#a0619b',
    500: '#751872',
    950: '#000000',
  },
}
SCSS
$custom: #751872;
$custom-light: #a0619b;
$custom-dark: #000000;
JSON
{
  "hex": "#751872",
  "rgb": {
    "r": 117,
    "g": 24,
    "b": 114
  },
  "hsl": {
    "h": 301.935,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.40526,
    "c": 0.16224,
    "h": 329.5
  },
  "luminance": 0.0565
}

Semantic roles & 50–950 ramp

primary
#751872
secondary
#3FAA42
accent
#E9443F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #751872

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

Preview Lab → · Contrast checker → · Palette generator →

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