#411F78#411F78

#411F78 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.2% C 0.142 H 295.3°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#411F78
RGBrgb(65, 31, 120)
HSLhsl(263, 59%, 30%)
HSVhsv(263, 74%, 47%)
CMYKcmyk(45.8%, 74.2%, 0%, 52.9%)
CIE-LABlab(21.80, 36.82, -44.83)
CIE-LCHlch(21.80, 58.01, 309.39°)
OKLaboklab(34.22% 0.0607 -0.1283)
OKLCHoklch(34.22% 0.142 295.3)
XYZxyz(6.0592, 3.4597, 18.1142)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#411F78 #56781F
analogous
#1F2A78 #411F78 #6D1F78
triadic
#411F78 #78411F #1F7841
tetradic
#411F78 #781F2A #56781F #1F786D
square
#411F78 #781F2A #56781F #1F786D
split-complementary
#411F78 #786D1F #2A781F
monochromatic
#0D0618 #271247 #411F78 #5B2CA9 #7843CE

Accessibility & contrast

On white

12.41
#411F78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#411F78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #411F78
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##411F78#FFFFFF#000000##FFFFFF
##411F781.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357B
Deuteranopia (green-blind)
#003376
Tritanopia (blue-blind)
#323649
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #411f78;
/* rgb */ color: rgb(65, 31, 120);
/* oklch */ color: oklch(34.2% 0.142 295.3);
Tailwind
colors: {
  custom: {
    50: '#7b5ea0',
    500: '#411f78',
    950: '#000000',
  },
}
SCSS
$custom: #411f78;
$custom-light: #7b5ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#411f78",
  "rgb": {
    "r": 65,
    "g": 31,
    "b": 120
  },
  "hsl": {
    "h": 262.921,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34219,
    "c": 0.14192,
    "h": 295.3
  },
  "luminance": 0.0346
}

Semantic roles & 50–950 ramp

primary
#411F78
secondary
#85AB47
accent
#E246A6
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040F
muted
#7C797E

Preview Lab

Preview with #411F78

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

Preview Lab → · Contrast checker → · Palette generator →

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