#411A78#411A78

#411A78 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.6% C 0.148 H 296.3°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#411A78
RGBrgb(65, 26, 120)
HSLhsl(265, 64%, 29%)
HSVhsv(265, 78%, 47%)
CMYKcmyk(45.8%, 78.3%, 0%, 52.9%)
CIE-LABlab(20.90, 39.36, -46.30)
CIE-LCHlch(20.90, 60.77, 310.37°)
OKLaboklab(33.58% 0.0655 -0.1326)
OKLCHoklch(33.58% 0.148 296.3)
XYZxyz(5.9386, 3.2185, 18.0740)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#411A78 #51781A
analogous
#1A2278 #411A78 #701A78
triadic
#411A78 #78411A #1A7841
tetradic
#411A78 #781A22 #51781A #1A7870
square
#411A78 #781A22 #51781A #1A7870
split-complementary
#411A78 #78701A #22781A
monochromatic
#0E0519 #260F46 #411A78 #5C25AA #7938D4

Accessibility & contrast

On white

12.78
#411A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#411A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #411A78
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##411A78#FFFFFF#000000##FFFFFF
##411A781.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337B
Deuteranopia (green-blind)
#003176
Tritanopia (blue-blind)
#323348
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #411a78;
/* rgb */ color: rgb(65, 26, 120);
/* oklch */ color: oklch(33.6% 0.148 296.3);
Tailwind
colors: {
  custom: {
    50: '#7c5ba0',
    500: '#411a78',
    950: '#000000',
  },
}
SCSS
$custom: #411a78;
$custom-light: #7c5ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#411a78",
  "rgb": {
    "r": 65,
    "g": 26,
    "b": 120
  },
  "hsl": {
    "h": 264.894,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33584,
    "c": 0.1479,
    "h": 296.3
  },
  "luminance": 0.03219
}

Semantic roles & 50–950 ramp

primary
#411A78
secondary
#80AC41
accent
#E740A2
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040F
muted
#7C797E

Preview Lab

Preview with #411A78

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

Preview Lab → · Contrast checker → · Palette generator →

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