#7C41AF#7C41AF

#7C41AF is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.1% C 0.171 H 305.8°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#7C41AF
RGBrgb(124, 65, 175)
HSLhsl(272, 46%, 47%)
HSVhsv(272, 63%, 69%)
CMYKcmyk(29.1%, 62.9%, 0%, 31.4%)
CIE-LABlab(39.85, 46.07, -49.01)
CIE-LCHlch(39.85, 67.27, 313.23°)
OKLaboklab(50.14% 0.1 -0.1387)
OKLCHoklch(50.14% 0.171 305.8)
XYZxyz(17.9387, 11.1610, 41.7584)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C41AF #74AF41
analogous
#4541AF #7C41AF #AF41AB
triadic
#7C41AF #AF7C41 #41AF7C
tetradic
#7C41AF #AF4541 #74AF41 #41ABAF
square
#7C41AF #AF4541 #74AF41 #41ABAF
split-complementary
#7C41AF #ABAF41 #41AF45
monochromatic
#3D2056 #5C3082 #7C41AF #9A67C6 #B893D7

Accessibility & contrast

On white

6.50
#7C41AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#7C41AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C41AF
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C41AF#FFFFFF#000000##FFFFFF
##7C41AF1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#295EAD
Tritanopia (blue-blind)
#735872
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7c41af;
/* rgb */ color: rgb(124, 65, 175);
/* oklch */ color: oklch(50.1% 0.171 305.8);
Tailwind
colors: {
  custom: {
    50: '#a679c7',
    500: '#7c41af',
    950: '#000000',
  },
}
SCSS
$custom: #7c41af;
$custom-light: #a679c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c41af",
  "rgb": {
    "r": 124,
    "g": 65,
    "b": 175
  },
  "hsl": {
    "h": 272.182,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50135,
    "c": 0.17098,
    "h": 305.8
  },
  "luminance": 0.11161
}

Semantic roles & 50–950 ramp

primary
#7C41AF
secondary
#A4C289
accent
#D5528F
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7C41AF

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

Preview Lab → · Contrast checker → · Palette generator →

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