#7D41B1#7D41B1

#7D41B1 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.4% C 0.174 H 305.7°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#7D41B1
RGBrgb(125, 65, 177)
HSLhsl(272, 46%, 47%)
HSVhsv(272, 63%, 69%)
CMYKcmyk(29.4%, 63.3%, 0%, 30.6%)
CIE-LABlab(40.11, 46.79, -49.78)
CIE-LCHlch(40.11, 68.32, 313.22°)
OKLaboklab(50.39% 0.1013 -0.1409)
OKLCHoklch(50.39% 0.174 305.7)
XYZxyz(18.2818, 11.3150, 42.8074)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D41B1 #75B141
analogous
#4541B1 #7D41B1 #B141AD
triadic
#7D41B1 #B17D41 #41B17D
tetradic
#7D41B1 #B14541 #75B141 #41ADB1
square
#7D41B1 #B14541 #75B141 #41ADB1
split-complementary
#7D41B1 #ADB141 #41B145
monochromatic
#3E2057 #5D3184 #7D41B1 #9B68C7 #B995D8

Accessibility & contrast

On white

6.44
#7D41B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#7D41B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D41B1
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D41B1#FFFFFF#000000##FFFFFF
##7D41B11.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB4
Deuteranopia (green-blind)
#275FAE
Tritanopia (blue-blind)
#745873
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7d41b1;
/* rgb */ color: rgb(125, 65, 177);
/* oklch */ color: oklch(50.4% 0.174 305.7);
Tailwind
colors: {
  custom: {
    50: '#a679c9',
    500: '#7d41b1',
    950: '#000000',
  },
}
SCSS
$custom: #7d41b1;
$custom-light: #a679c9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d41b1",
  "rgb": {
    "r": 125,
    "g": 65,
    "b": 177
  },
  "hsl": {
    "h": 272.143,
    "s": 46.281,
    "l": 47.451
  },
  "oklch": {
    "l": 0.5039,
    "c": 0.17351,
    "h": 305.7
  },
  "luminance": 0.11315
}

Semantic roles & 50–950 ramp

primary
#7D41B1
secondary
#A5C38A
accent
#D6528F
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7D41B1

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

Preview Lab → · Contrast checker → · Palette generator →

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