#7A1790#7A1790

#7A1790 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.3% C 0.190 H 319.2°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#7A1790
RGBrgb(122, 23, 144)
HSLhsl(289, 72%, 33%)
HSVhsv(289, 84%, 56%)
CMYKcmyk(15.3%, 84%, 0%, 43.5%)
CIE-LABlab(31.27, 56.28, -44.13)
CIE-LCHlch(31.27, 71.52, 321.90°)
OKLaboklab(43.27% 0.1437 -0.1241)
OKLCHoklch(43.27% 0.19 319.2)
XYZxyz(13.3658, 6.7647, 26.9818)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1790 #2D9017
analogous
#3E1790 #7A1790 #901769
triadic
#7A1790 #907A17 #17907A
tetradic
#7A1790 #903E17 #2D9017 #176990
square
#7A1790 #903E17 #2D9017 #176990
split-complementary
#7A1790 #699017 #17903E
monochromatic
#210626 #4D0F5B #7A1790 #A71FC5 #C441E1

Accessibility & contrast

On white

8.93
#7A1790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7A1790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1790
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1790#FFFFFF#000000##FFFFFF
##7A17901.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004393
Deuteranopia (green-blind)
#214D8D
Tritanopia (blue-blind)
#7A3455
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7a1790;
/* rgb */ color: rgb(122, 23, 144);
/* oklch */ color: oklch(43.3% 0.190 319.2);
Tailwind
colors: {
  custom: {
    50: '#a563b1',
    500: '#7a1790',
    950: '#000000',
  },
}
SCSS
$custom: #7a1790;
$custom-light: #a563b1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1790",
  "rgb": {
    "r": 122,
    "g": 23,
    "b": 144
  },
  "hsl": {
    "h": 289.091,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43272,
    "c": 0.18987,
    "h": 319.2
  },
  "luminance": 0.06764
}

Semantic roles & 50–950 ramp

primary
#7A1790
secondary
#59C142
accent
#EF395A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7A1790

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

Preview Lab → · Contrast checker → · Palette generator →

#7A1790 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva