#7A41A2#7A41A2

#7A41A2 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.0% C 0.156 H 308.9°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#7A41A2
RGBrgb(122, 65, 162)
HSLhsl(275, 43%, 45%)
HSVhsv(275, 60%, 64%)
CMYKcmyk(24.7%, 59.9%, 0%, 36.5%)
CIE-LABlab(38.77, 42.48, -43.01)
CIE-LCHlch(38.77, 60.45, 314.64°)
OKLaboklab(49.03% 0.0976 -0.1211)
OKLCHoklch(49.03% 0.156 308.9)
XYZxyz(16.4366, 10.5271, 35.3415)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A41A2 #69A241
analogous
#4A41A2 #7A41A2 #A24199
triadic
#7A41A2 #A27A41 #41A27A
tetradic
#7A41A2 #A24A41 #69A241 #4199A2
square
#7A41A2 #A24A41 #69A241 #4199A2
split-complementary
#7A41A2 #99A241 #41A24A
monochromatic
#381E4B #592F76 #7A41A2 #9861BF #B58CD1

Accessibility & contrast

On white

6.76
#7A41A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#7A41A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A41A2
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A41A2#FFFFFF#000000##FFFFFF
##7A41A21.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B59A5
Deuteranopia (green-blind)
#345CA0
Tritanopia (blue-blind)
#74536B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7a41a2;
/* rgb */ color: rgb(122, 65, 162);
/* oklch */ color: oklch(49.0% 0.156 308.9);
Tailwind
colors: {
  custom: {
    50: '#a378be',
    500: '#7a41a2',
    950: '#000000',
  },
}
SCSS
$custom: #7a41a2;
$custom-light: #a378be;
$custom-dark: #000000;
JSON
{
  "hex": "#7a41a2",
  "rgb": {
    "r": 122,
    "g": 65,
    "b": 162
  },
  "hsl": {
    "h": 275.258,
    "s": 42.731,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49031,
    "c": 0.15558,
    "h": 308.9
  },
  "luminance": 0.10527
}

Semantic roles & 50–950 ramp

primary
#7A41A2
secondary
#9ABC83
accent
#D35589
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #7A41A2

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

Preview Lab → · Contrast checker → · Palette generator →

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