#411A7F#411A7F

#411A7F is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.156 H 294.0°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#411A7F
RGBrgb(65, 26, 127)
HSLhsl(263, 66%, 30%)
HSVhsv(263, 80%, 50%)
CMYKcmyk(48.8%, 79.5%, 0%, 50.2%)
CIE-LABlab(21.56, 41.30, -49.67)
CIE-LCHlch(21.56, 64.60, 309.74°)
OKLaboklab(34.25% 0.0635 -0.1425)
OKLCHoklch(34.25% 0.156 294)
XYZxyz(6.3791, 3.3947, 20.3937)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#411A7F #587F1A
analogous
#1A267F #411A7F #731A7F
triadic
#411A7F #7F411A #1A7F41
tetradic
#411A7F #7F1A26 #587F1A #1A7F73
square
#411A7F #7F1A26 #587F1A #1A7F73
split-complementary
#411A7F #7F731A #267F1A
monochromatic
#0D0519 #27104C #411A7F #5B24B2 #783CD7

Accessibility & contrast

On white

12.51
#411A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#411A7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #411A7F
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##411A7F#FFFFFF#000000##FFFFFF
##411A7F1.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003582
Deuteranopia (green-blind)
#00327D
Tritanopia (blue-blind)
#2E364C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #411a7f;
/* rgb */ color: rgb(65, 26, 127);
/* oklch */ color: oklch(34.3% 0.156 294.0);
Tailwind
colors: {
  custom: {
    50: '#7d5ba5',
    500: '#411a7f',
    950: '#000000',
  },
}
SCSS
$custom: #411a7f;
$custom-light: #7d5ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#411a7f",
  "rgb": {
    "r": 65,
    "g": 26,
    "b": 127
  },
  "hsl": {
    "h": 263.168,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.3425,
    "c": 0.156,
    "h": 294
  },
  "luminance": 0.03395
}

Semantic roles & 50–950 ramp

primary
#411A7F
secondary
#87B342
accent
#E93FA7
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #411A7F

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

Preview Lab → · Contrast checker → · Palette generator →

#411A7F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva