#751276#751276

#751276 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.4% C 0.171 H 327.7°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#751276
RGBrgb(117, 18, 118)
HSLhsl(299, 74%, 27%)
HSVhsv(299, 85%, 46%)
CMYKcmyk(0.8%, 84.7%, 0%, 53.7%)
CIE-LABlab(28.18, 51.93, -32.85)
CIE-LCHlch(28.18, 61.44, 327.68°)
OKLaboklab(40.37% 0.1445 -0.0912)
OKLCHoklch(40.37% 0.171 327.7)
XYZxyz(10.8223, 5.5233, 17.6321)
Luminance0.0552 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751276 #137612
analogous
#431276 #751276 #761245
triadic
#751276 #767512 #127675
tetradic
#751276 #764312 #137612 #124576
square
#751276 #764312 #137612 #124576
split-complementary
#751276 #457612 #127643
monochromatic
#1A041B #400A41 #751276 #AA1AAB #DC25DE

Accessibility & contrast

On white

9.98
#751276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #751276
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751276#FFFFFF#000000##FFFFFF
##7512761.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B79
Deuteranopia (green-blind)
#304774
Tritanopia (blue-blind)
#792545
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #751276;
/* rgb */ color: rgb(117, 18, 118);
/* oklch */ color: oklch(40.4% 0.171 327.7);
Tailwind
colors: {
  custom: {
    50: '#a05f9e',
    500: '#751276',
    950: '#000000',
  },
}
SCSS
$custom: #751276;
$custom-light: #a05f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#751276",
  "rgb": {
    "r": 117,
    "g": 18,
    "b": 118
  },
  "hsl": {
    "h": 299.4,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.40365,
    "c": 0.17087,
    "h": 327.7
  },
  "luminance": 0.05523
}

Semantic roles & 50–950 ramp

primary
#751276
secondary
#38AD37
accent
#F03839
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #751276

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

Preview Lab → · Contrast checker → · Palette generator →

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