#7A41B5#7A41B5

#7A41B5 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.3% C 0.177 H 303.2°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#7A41B5
RGBrgb(122, 65, 181)
HSLhsl(269, 47%, 48%)
HSVhsv(269, 64%, 71%)
CMYKcmyk(32.6%, 64.1%, 0%, 29%)
CIE-LABlab(40.01, 47.08, -52.32)
CIE-LCHlch(40.01, 70.38, 311.98°)
OKLaboklab(50.32% 0.097 -0.1484)
OKLCHoklch(50.32% 0.177 303.2)
XYZxyz(18.2549, 11.2544, 44.9177)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A41B5 #7CB541
analogous
#4142B5 #7A41B5 #B441B5
triadic
#7A41B5 #B57A41 #41B57A
tetradic
#7A41B5 #B54142 #7CB541 #41B5B4
square
#7A41B5 #B54142 #7CB541 #41B5B4
split-complementary
#7A41B5 #B5B441 #42B541
monochromatic
#3D215B #5C3188 #7A41B5 #996AC9 #B897DA

Accessibility & contrast

On white

6.46
#7A41B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#7A41B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A41B5
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A41B5#FFFFFF#000000##FFFFFF
##7A41B51.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB9
Deuteranopia (green-blind)
#1C5EB2
Tritanopia (blue-blind)
#6F5A75
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7a41b5;
/* rgb */ color: rgb(122, 65, 181);
/* oklch */ color: oklch(50.3% 0.177 303.2);
Tailwind
colors: {
  custom: {
    50: '#a579cc',
    500: '#7a41b5',
    950: '#000000',
  },
}
SCSS
$custom: #7a41b5;
$custom-light: #a579cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7a41b5",
  "rgb": {
    "r": 122,
    "g": 65,
    "b": 181
  },
  "hsl": {
    "h": 269.483,
    "s": 47.154,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50321,
    "c": 0.17731,
    "h": 303.2
  },
  "luminance": 0.11254
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7A41B5

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

Preview Lab → · Contrast checker → · Palette generator →

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