#751270#751270

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

Color values

HEX#751270
RGBrgb(117, 18, 112)
HSLhsl(303, 73%, 26%)
HSVhsv(303, 85%, 46%)
CMYKcmyk(0%, 84.6%, 4.3%, 54.1%)
CIE-LABlab(27.81, 50.92, -29.60)
CIE-LCHlch(27.81, 58.90, 329.83°)
OKLaboklab(39.98% 0.1447 -0.0818)
OKLCHoklch(39.98% 0.166 330.5)
XYZxyz(10.4770, 5.3852, 15.8137)
Luminance0.0538 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751270 #127517
analogous
#491275 #751270 #75123F
triadic
#751270 #707512 #127075
tetradic
#751270 #754912 #127517 #123F75
square
#751270 #754912 #127517 #123F75
split-complementary
#751270 #3F7512 #127549
monochromatic
#1B0419 #400A3D #751270 #AA1AA3 #DD24D4

Accessibility & contrast

On white

10.11
#751270 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #751270
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751270#FFFFFF#000000##FFFFFF
##7512701.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013972
Deuteranopia (green-blind)
#33466E
Tritanopia (blue-blind)
#7A2142
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #751270;
/* rgb */ color: rgb(117, 18, 112);
/* oklch */ color: oklch(40.0% 0.166 330.5);
Tailwind
colors: {
  custom: {
    50: '#a05f99',
    500: '#751270',
    950: '#000000',
  },
}
SCSS
$custom: #751270;
$custom-light: #a05f99;
$custom-dark: #000000;
JSON
{
  "hex": "#751270",
  "rgb": {
    "r": 117,
    "g": 18,
    "b": 112
  },
  "hsl": {
    "h": 303.03,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.39982,
    "c": 0.16626,
    "h": 330.5
  },
  "luminance": 0.05384
}

Semantic roles & 50–950 ramp

primary
#751270
secondary
#37AC3D
accent
#F04138
background
#FAF5F9
surface
#F4EAF2
border
#CEC6CC
text
#0F050E
muted
#7F797E

Preview Lab

Preview with #751270

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

Preview Lab → · Contrast checker → · Palette generator →

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