#751796#751796

#751796 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 43.0% C 0.193 H 314.8°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#751796
RGBrgb(117, 23, 150)
HSLhsl(284, 73%, 34%)
HSVhsv(284, 85%, 59%)
CMYKcmyk(22%, 84.7%, 0%, 41.2%)
CIE-LABlab(30.87, 56.55, -48.50)
CIE-LCHlch(30.87, 74.50, 319.38°)
OKLaboklab(42.97% 0.1361 -0.1371)
OKLCHoklch(42.97% 0.193 314.8)
XYZxyz(13.1466, 6.5972, 29.4291)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751796 #389617
analogous
#351796 #751796 #961778
triadic
#751796 #967517 #179675
tetradic
#751796 #963517 #389617 #177896
square
#751796 #963517 #389617 #177896
split-complementary
#751796 #789617 #179635
monochromatic
#22072C #4C0F61 #751796 #9E1FCB #BA45E2

Accessibility & contrast

On white

9.05
#751796 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#751796 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751796
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751796#FFFFFF#000000##FFFFFF
##7517961.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004499
Deuteranopia (green-blind)
#0B4B93
Tritanopia (blue-blind)
#723859
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #751796;
/* rgb */ color: rgb(117, 23, 150);
/* oklch */ color: oklch(43.0% 0.193 314.8);
Tailwind
colors: {
  custom: {
    50: '#a162b6',
    500: '#751796',
    950: '#000000',
  },
}
SCSS
$custom: #751796;
$custom-light: #a162b6;
$custom-dark: #000000;
JSON
{
  "hex": "#751796",
  "rgb": {
    "r": 117,
    "g": 23,
    "b": 150
  },
  "hsl": {
    "h": 284.409,
    "s": 73.41,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42972,
    "c": 0.1932,
    "h": 314.8
  },
  "luminance": 0.06597
}

Semantic roles & 50–950 ramp

primary
#751796
secondary
#66C345
accent
#F03868
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #751796

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

Preview Lab → · Contrast checker → · Palette generator →

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