#751273#751273

#751273 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.2% C 0.169 H 329.1°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#751273
RGBrgb(117, 18, 115)
HSLhsl(301, 73%, 26%)
HSVhsv(301, 85%, 46%)
CMYKcmyk(0%, 84.6%, 1.7%, 54.1%)
CIE-LABlab(27.99, 51.42, -31.23)
CIE-LCHlch(27.99, 60.16, 328.73°)
OKLaboklab(40.17% 0.1446 -0.0865)
OKLCHoklch(40.17% 0.169 329.1)
XYZxyz(10.6469, 5.4532, 16.7081)
Luminance0.0545 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751273 #127514
analogous
#461275 #751273 #751242
triadic
#751273 #737512 #127375
tetradic
#751273 #754612 #127514 #124275
square
#751273 #754612 #127514 #124275
split-complementary
#751273 #427512 #127546
monochromatic
#1B041A #400A3F #751273 #AA1AA7 #DD24DA

Accessibility & contrast

On white

10.05
#751273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#751273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751273
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751273#FFFFFF#000000##FFFFFF
##7512731.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A75
Deuteranopia (green-blind)
#324671
Tritanopia (blue-blind)
#792344
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #751273;
/* rgb */ color: rgb(117, 18, 115);
/* oklch */ color: oklch(40.2% 0.169 329.1);
Tailwind
colors: {
  custom: {
    50: '#a05f9c',
    500: '#751273',
    950: '#000000',
  },
}
SCSS
$custom: #751273;
$custom-light: #a05f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#751273",
  "rgb": {
    "r": 117,
    "g": 18,
    "b": 115
  },
  "hsl": {
    "h": 301.212,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.40172,
    "c": 0.16855,
    "h": 329.1
  },
  "luminance": 0.05452
}

Semantic roles & 50–950 ramp

primary
#751273
secondary
#37AC3A
accent
#F03C38
background
#FAF5F9
surface
#F4EAF2
border
#CEC6CC
text
#0F050E
muted
#7F797E

Preview Lab

Preview with #751273

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

Preview Lab → · Contrast checker → · Palette generator →

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