#7D41A3#7D41A3

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

Color values

HEX#7D41A3
RGBrgb(125, 65, 163)
HSLhsl(277, 43%, 45%)
HSVhsv(277, 60%, 64%)
CMYKcmyk(23.3%, 60.1%, 0%, 36.1%)
CIE-LABlab(39.22, 43.48, -42.88)
CIE-LCHlch(39.22, 61.06, 315.40°)
OKLaboklab(49.46% 0.1016 -0.1206)
OKLCHoklch(49.46% 0.158 310.1)
XYZxyz(16.9573, 10.7852, 35.8317)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D41A3 #67A341
analogous
#4C41A3 #7D41A3 #A34198
triadic
#7D41A3 #A37D41 #41A37D
tetradic
#7D41A3 #A34C41 #67A341 #4198A3
square
#7D41A3 #A34C41 #67A341 #4198A3
split-complementary
#7D41A3 #98A341 #41A34C
monochromatic
#3A1E4B #5B3077 #7D41A3 #9B61C0 #B78DD1

Accessibility & contrast

On white

6.65
#7D41A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7D41A3
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D41A3#FFFFFF#000000##FFFFFF
##7D41A31.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5AA6
Deuteranopia (green-blind)
#365DA1
Tritanopia (blue-blind)
#78536C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7d41a3;
/* rgb */ color: rgb(125, 65, 163);
/* oklch */ color: oklch(49.5% 0.158 310.1);
Tailwind
colors: {
  custom: {
    50: '#a579bf',
    500: '#7d41a3',
    950: '#000000',
  },
}
SCSS
$custom: #7d41a3;
$custom-light: #a579bf;
$custom-dark: #000000;
JSON
{
  "hex": "#7d41a3",
  "rgb": {
    "r": 125,
    "g": 65,
    "b": 163
  },
  "hsl": {
    "h": 276.735,
    "s": 42.982,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49458,
    "c": 0.15773,
    "h": 310.1
  },
  "luminance": 0.10785
}

Semantic roles & 50–950 ramp

primary
#7D41A3
secondary
#99BD83
accent
#D35586
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #7D41A3

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

Preview Lab → · Contrast checker → · Palette generator →

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