#751271#751271

#751271 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.0% C 0.167 H 330.0°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#751271
RGBrgb(117, 18, 113)
HSLhsl(302, 73%, 26%)
HSVhsv(302, 85%, 46%)
CMYKcmyk(0%, 84.6%, 3.4%, 54.1%)
CIE-LABlab(27.87, 51.09, -30.15)
CIE-LCHlch(27.87, 59.32, 329.45°)
OKLaboklab(40.04% 0.1447 -0.0834)
OKLCHoklch(40.04% 0.167 330)
XYZxyz(10.5330, 5.4076, 16.1086)
Luminance0.0541 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751271 #127516
analogous
#481275 #751271 #751240
triadic
#751271 #717512 #127175
tetradic
#751271 #754812 #127516 #124075
square
#751271 #754812 #127516 #124075
split-complementary
#751271 #407512 #127548
monochromatic
#1B041A #400A3E #751271 #AA1AA4 #DD24D6

Accessibility & contrast

On white

10.09
#751271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #751271
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751271#FFFFFF#000000##FFFFFF
##7512711.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003973
Deuteranopia (green-blind)
#33466F
Tritanopia (blue-blind)
#7A2242
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #751271;
/* rgb */ color: rgb(117, 18, 113);
/* oklch */ color: oklch(40.0% 0.167 330.0);
Tailwind
colors: {
  custom: {
    50: '#a05f9a',
    500: '#751271',
    950: '#000000',
  },
}
SCSS
$custom: #751271;
$custom-light: #a05f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#751271",
  "rgb": {
    "r": 117,
    "g": 18,
    "b": 113
  },
  "hsl": {
    "h": 302.424,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.40045,
    "c": 0.16701,
    "h": 330
  },
  "luminance": 0.05407
}

Semantic roles & 50–950 ramp

primary
#751271
secondary
#37AC3C
accent
#F03F38
background
#FAF5F9
surface
#F4EAF2
border
#CEC6CC
text
#0F050E
muted
#7F797E

Preview Lab

Preview with #751271

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

Preview Lab → · Contrast checker → · Palette generator →

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