#7A41B4#7A41B4

#7A41B4 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.2% C 0.176 H 303.4°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#7A41B4
RGBrgb(122, 65, 180)
HSLhsl(270, 47%, 48%)
HSVhsv(270, 64%, 71%)
CMYKcmyk(32.2%, 63.9%, 0%, 29.4%)
CIE-LABlab(39.94, 46.83, -51.84)
CIE-LCHlch(39.94, 69.86, 312.09°)
OKLaboklab(50.25% 0.0971 -0.147)
OKLCHoklch(50.25% 0.176 303.4)
XYZxyz(18.1527, 11.2135, 44.3793)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A41B4 #7BB441
analogous
#4141B4 #7A41B4 #B341B4
triadic
#7A41B4 #B47A41 #41B47A
tetradic
#7A41B4 #B44141 #7BB441 #41B4B3
square
#7A41B4 #B44141 #7BB441 #41B4B3
split-complementary
#7A41B4 #B4B341 #41B441
monochromatic
#3D215A #5C3187 #7A41B4 #9969C9 #B796D9

Accessibility & contrast

On white

6.48
#7A41B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#7A41B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A41B4
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A41B4#FFFFFF#000000##FFFFFF
##7A41B41.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB8
Deuteranopia (green-blind)
#1E5EB1
Tritanopia (blue-blind)
#6F5A74
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7a41b4;
/* rgb */ color: rgb(122, 65, 180);
/* oklch */ color: oklch(50.2% 0.176 303.4);
Tailwind
colors: {
  custom: {
    50: '#a579cb',
    500: '#7a41b4',
    950: '#000000',
  },
}
SCSS
$custom: #7a41b4;
$custom-light: #a579cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7a41b4",
  "rgb": {
    "r": 122,
    "g": 65,
    "b": 180
  },
  "hsl": {
    "h": 269.739,
    "s": 46.939,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5025,
    "c": 0.17617,
    "h": 303.4
  },
  "luminance": 0.11213
}

Semantic roles & 50–950 ramp

primary
#7A41B4
secondary
#A9C58C
accent
#D75194
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7A41B4

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

Preview Lab → · Contrast checker → · Palette generator →

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