#751781#751781

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

Color values

HEX#751781
RGBrgb(117, 23, 129)
HSLhsl(293, 70%, 30%)
HSVhsv(293, 82%, 51%)
CMYKcmyk(9.3%, 82.2%, 0%, 49.4%)
CIE-LABlab(29.36, 52.52, -37.90)
CIE-LCHlch(29.36, 64.77, 324.18°)
OKLaboklab(41.43% 0.1397 -0.106)
OKLCHoklch(41.43% 0.175 322.8)
XYZxyz(11.6046, 5.9804, 21.3077)
Luminance0.0598 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751781 #238117
analogous
#401781 #751781 #811758
triadic
#751781 #817517 #178175
tetradic
#751781 #814017 #238117 #175881
square
#751781 #814017 #238117 #175881
split-complementary
#751781 #588117 #178140
monochromatic
#18051A #460E4D #751781 #A420B5 #C937DB

Accessibility & contrast

On white

9.56
#751781 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #751781
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751781#FFFFFF#000000##FFFFFF
##7517811.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #751781;
/* rgb */ color: rgb(117, 23, 129);
/* oklch */ color: oklch(41.4% 0.175 322.8);
Tailwind
colors: {
  custom: {
    50: '#a061a6',
    500: '#751781',
    950: '#000000',
  },
}
SCSS
$custom: #751781;
$custom-light: #a061a6;
$custom-dark: #000000;
JSON
{
  "hex": "#751781",
  "rgb": {
    "r": 117,
    "g": 23,
    "b": 129
  },
  "hsl": {
    "h": 293.208,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41434,
    "c": 0.17542,
    "h": 322.8
  },
  "luminance": 0.0598
}

Semantic roles & 50–950 ramp

primary
#751781
secondary
#4CB53E
accent
#ED3B4F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #751781

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

Preview Lab → · Contrast checker → · Palette generator →

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