#751274#751274

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

Color values

HEX#751274
RGBrgb(117, 18, 116)
HSLhsl(301, 73%, 26%)
HSVhsv(301, 85%, 46%)
CMYKcmyk(0%, 84.6%, 0.9%, 54.1%)
CIE-LABlab(28.05, 51.59, -31.77)
CIE-LCHlch(28.05, 60.59, 328.37°)
OKLaboklab(40.24% 0.1446 -0.0881)
OKLCHoklch(40.24% 0.169 328.6)
XYZxyz(10.7047, 5.4763, 17.0128)
Luminance0.0548 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751274 #127513
analogous
#451275 #751274 #751243
triadic
#751274 #747512 #127475
tetradic
#751274 #754512 #127513 #124375
square
#751274 #754512 #127513 #124375
split-complementary
#751274 #437512 #127545
monochromatic
#1B041A #400A3F #751274 #AA1AA9 #DD24DB

Accessibility & contrast

On white

10.02
#751274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#751274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751274
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751274#FFFFFF#000000##FFFFFF
##7512741.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A76
Deuteranopia (green-blind)
#314772
Tritanopia (blue-blind)
#792444
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #751274;
/* rgb */ color: rgb(117, 18, 116);
/* oklch */ color: oklch(40.2% 0.169 328.6);
Tailwind
colors: {
  custom: {
    50: '#a05f9c',
    500: '#751274',
    950: '#000000',
  },
}
SCSS
$custom: #751274;
$custom-light: #a05f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#751274",
  "rgb": {
    "r": 117,
    "g": 18,
    "b": 116
  },
  "hsl": {
    "h": 300.606,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.40236,
    "c": 0.16933,
    "h": 328.6
  },
  "luminance": 0.05475
}

Semantic roles & 50–950 ramp

primary
#751274
secondary
#37AC38
accent
#F03A38
background
#FAF5F9
surface
#F4EAF2
border
#CEC6CC
text
#0F050E
muted
#7F797E

Preview Lab

Preview with #751274

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

Preview Lab → · Contrast checker → · Palette generator →

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