#7D41A4#7D41A4

#7D41A4 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.5% C 0.159 H 309.8°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#7D41A4
RGBrgb(125, 65, 164)
HSLhsl(276, 43%, 45%)
HSVhsv(276, 60%, 64%)
CMYKcmyk(23.8%, 60.4%, 0%, 35.7%)
CIE-LABlab(39.28, 43.71, -43.38)
CIE-LCHlch(39.28, 61.58, 315.22°)
OKLaboklab(49.52% 0.1016 -0.1221)
OKLCHoklch(49.52% 0.159 309.8)
XYZxyz(17.0473, 10.8212, 36.3054)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D41A4 #68A441
analogous
#4C41A4 #7D41A4 #A44199
triadic
#7D41A4 #A47D41 #41A47D
tetradic
#7D41A4 #A44C41 #68A441 #4199A4
square
#7D41A4 #A44C41 #68A441 #4199A4
split-complementary
#7D41A4 #99A441 #41A44C
monochromatic
#3A1E4C #5C3078 #7D41A4 #9B62C1 #B78DD2

Accessibility & contrast

On white

6.64
#7D41A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#7D41A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D41A4
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D41A4#FFFFFF#000000##FFFFFF
##7D41A41.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5AA7
Deuteranopia (green-blind)
#355DA2
Tritanopia (blue-blind)
#78546C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7d41a4;
/* rgb */ color: rgb(125, 65, 164);
/* oklch */ color: oklch(49.5% 0.159 309.8);
Tailwind
colors: {
  custom: {
    50: '#a679bf',
    500: '#7d41a4',
    950: '#000000',
  },
}
SCSS
$custom: #7d41a4;
$custom-light: #a679bf;
$custom-dark: #000000;
JSON
{
  "hex": "#7d41a4",
  "rgb": {
    "r": 125,
    "g": 65,
    "b": 164
  },
  "hsl": {
    "h": 276.364,
    "s": 43.231,
    "l": 44.902
  },
  "oklch": {
    "l": 0.49522,
    "c": 0.15886,
    "h": 309.8
  },
  "luminance": 0.10821
}

Semantic roles & 50–950 ramp

primary
#7D41A4
secondary
#9ABD84
accent
#D35587
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #7D41A4

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

Preview Lab → · Contrast checker → · Palette generator →

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