#751881#751881

#751881 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.5% C 0.174 H 322.8°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#751881
RGBrgb(117, 24, 129)
HSLhsl(293, 69%, 30%)
HSVhsv(293, 81%, 51%)
CMYKcmyk(9.3%, 81.4%, 0%, 49.4%)
CIE-LABlab(29.47, 52.22, -37.74)
CIE-LCHlch(29.47, 64.43, 324.14°)
OKLaboklab(41.51% 0.1389 -0.1056)
OKLCHoklch(41.51% 0.175 322.8)
XYZxyz(11.6248, 6.0209, 21.3145)
Luminance0.0602 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751881 #248118
analogous
#411881 #751881 #811858
triadic
#751881 #817518 #188175
tetradic
#751881 #814118 #248118 #185881
square
#751881 #814118 #248118 #185881
split-complementary
#751881 #588118 #188141
monochromatic
#17051A #460E4D #751881 #A422B5 #C839DA

Accessibility & contrast

On white

9.53
#751881 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#751881 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751881
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751881#FFFFFF#000000##FFFFFF
##7518811.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F84
Deuteranopia (green-blind)
#2A497F
Tritanopia (blue-blind)
#772E4D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #751881;
/* rgb */ color: rgb(117, 24, 129);
/* oklch */ color: oklch(41.5% 0.174 322.8);
Tailwind
colors: {
  custom: {
    50: '#a062a6',
    500: '#751881',
    950: '#000000',
  },
}
SCSS
$custom: #751881;
$custom-light: #a062a6;
$custom-dark: #000000;
JSON
{
  "hex": "#751881",
  "rgb": {
    "r": 117,
    "g": 24,
    "b": 129
  },
  "hsl": {
    "h": 293.143,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.41507,
    "c": 0.1745,
    "h": 322.8
  },
  "luminance": 0.0602
}

Semantic roles & 50–950 ramp

primary
#751881
secondary
#4DB540
accent
#EB3C50
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #751881

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

Preview Lab → · Contrast checker → · Palette generator →

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