#7D41B5#7D41B5

#7D41B5 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.7% C 0.178 H 304.6°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#7D41B5
RGBrgb(125, 65, 181)
HSLhsl(271, 47%, 48%)
HSVhsv(271, 64%, 71%)
CMYKcmyk(30.9%, 64.1%, 0%, 29%)
CIE-LABlab(40.37, 47.75, -51.71)
CIE-LCHlch(40.37, 70.39, 312.72°)
OKLaboklab(50.67% 0.101 -0.1466)
OKLCHoklch(50.67% 0.178 304.6)
XYZxyz(18.6864, 11.4769, 44.9379)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D41B5 #79B541
analogous
#4341B5 #7D41B5 #B541B3
triadic
#7D41B5 #B57D41 #41B57D
tetradic
#7D41B5 #B54341 #79B541 #41B3B5
square
#7D41B5 #B54341 #79B541 #41B3B5
split-complementary
#7D41B5 #B3B541 #41B543
monochromatic
#3F215B #5E3188 #7D41B5 #9B6AC9 #B997DA

Accessibility & contrast

On white

6.37
#7D41B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#7D41B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D41B5
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D41B5#FFFFFF#000000##FFFFFF
##7D41B51.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB9
Deuteranopia (green-blind)
#215FB2
Tritanopia (blue-blind)
#735A75
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7d41b5;
/* rgb */ color: rgb(125, 65, 181);
/* oklch */ color: oklch(50.7% 0.178 304.6);
Tailwind
colors: {
  custom: {
    50: '#a779cc',
    500: '#7d41b5',
    950: '#000000',
  },
}
SCSS
$custom: #7d41b5;
$custom-light: #a779cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7d41b5",
  "rgb": {
    "r": 125,
    "g": 65,
    "b": 181
  },
  "hsl": {
    "h": 271.034,
    "s": 47.154,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50667,
    "c": 0.17801,
    "h": 304.6
  },
  "luminance": 0.11477
}

Semantic roles & 50–950 ramp

primary
#7D41B5
secondary
#A8C58C
accent
#D75192
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7D41B5

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

Preview Lab → · Contrast checker → · Palette generator →

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