#411D81#411D81

#411D81 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.8% C 0.155 H 292.9°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#411D81
RGBrgb(65, 29, 129)
HSLhsl(262, 63%, 31%)
HSVhsv(262, 78%, 51%)
CMYKcmyk(49.6%, 77.5%, 0%, 49.4%)
CIE-LABlab(22.26, 40.41, -49.79)
CIE-LCHlch(22.26, 64.13, 309.06°)
OKLaboklab(34.8% 0.0604 -0.1429)
OKLCHoklch(34.8% 0.155 292.9)
XYZxyz(6.5807, 3.5873, 21.1103)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#411D81 #5D811D
analogous
#1D2B81 #411D81 #731D81
triadic
#411D81 #81411D #1D8141
tetradic
#411D81 #811D2B #5D811D #1D8173
square
#411D81 #811D2B #5D811D #1D8173
split-complementary
#411D81 #81731D #2B811D
monochromatic
#0F071D #28124F #411D81 #5A28B3 #7844D5

Accessibility & contrast

On white

12.23
#411D81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#411D81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #411D81
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##411D81#FFFFFF#000000##FFFFFF
##411D811.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003684
Deuteranopia (green-blind)
#00337F
Tritanopia (blue-blind)
#2D384E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #411d81;
/* rgb */ color: rgb(65, 29, 129);
/* oklch */ color: oklch(34.8% 0.155 292.9);
Tailwind
colors: {
  custom: {
    50: '#7d5da6',
    500: '#411d81',
    950: '#000000',
  },
}
SCSS
$custom: #411d81;
$custom-light: #7d5da6;
$custom-dark: #000000;
JSON
{
  "hex": "#411d81",
  "rgb": {
    "r": 65,
    "g": 29,
    "b": 129
  },
  "hsl": {
    "h": 261.6,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34797,
    "c": 0.15509,
    "h": 292.9
  },
  "luminance": 0.03588
}

Semantic roles & 50–950 ramp

primary
#411D81
secondary
#8CB446
accent
#E641AB
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #411D81

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

Preview Lab → · Contrast checker → · Palette generator →

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