#751974#751974

#751974 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.7% C 0.163 H 328.5°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#751974
RGBrgb(117, 25, 116)
HSLhsl(301, 65%, 28%)
HSVhsv(301, 79%, 46%)
CMYKcmyk(0%, 78.6%, 0.9%, 54.1%)
CIE-LABlab(28.74, 49.58, -30.67)
CIE-LCHlch(28.74, 58.30, 328.26°)
OKLaboklab(40.73% 0.1389 -0.085)
OKLCHoklch(40.73% 0.163 328.5)
XYZxyz(10.8360, 5.7389, 17.0566)
Luminance0.0574 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751974 #19751A
analogous
#481975 #751974 #751946
triadic
#751974 #747519 #197475
tetradic
#751974 #754819 #19751A #194675
square
#751974 #754819 #19751A #194675
split-complementary
#751974 #467519 #197548
monochromatic
#190519 #430E42 #751974 #A724A6 #D435D2

Accessibility & contrast

On white

9.78
#751974 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#751974 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751974
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751974#FFFFFF#000000##FFFFFF
##7519741.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053C76
Deuteranopia (green-blind)
#344872
Tritanopia (blue-blind)
#792846
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #751974;
/* rgb */ color: rgb(117, 25, 116);
/* oklch */ color: oklch(40.7% 0.163 328.5);
Tailwind
colors: {
  custom: {
    50: '#a0619c',
    500: '#751974',
    950: '#000000',
  },
}
SCSS
$custom: #751974;
$custom-light: #a0619c;
$custom-dark: #000000;
JSON
{
  "hex": "#751974",
  "rgb": {
    "r": 117,
    "g": 25,
    "b": 116
  },
  "hsl": {
    "h": 300.652,
    "s": 64.789,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40729,
    "c": 0.16281,
    "h": 328.5
  },
  "luminance": 0.05738
}

Semantic roles & 50–950 ramp

primary
#751974
secondary
#40AA41
accent
#E84240
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #751974

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

Preview Lab → · Contrast checker → · Palette generator →

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