#411D8E#411D8E

#411D8E is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.1% C 0.170 H 289.4°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#411D8E
RGBrgb(65, 29, 142)
HSLhsl(259, 66%, 34%)
HSVhsv(259, 80%, 56%)
CMYKcmyk(54.2%, 79.6%, 0%, 44.3%)
CIE-LABlab(23.52, 44.11, -55.86)
CIE-LCHlch(23.52, 71.18, 308.29°)
OKLaboklab(36.07% 0.0565 -0.1606)
OKLCHoklch(36.07% 0.17 289.4)
XYZxyz(7.5004, 3.9552, 25.9542)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#411D8E #6A8E1D
analogous
#1D318E #411D8E #791D8E
triadic
#411D8E #8E411D #1D8E41
tetradic
#411D8E #8E1D31 #6A8E1D #1D8E79
square
#411D8E #8E1D31 #6A8E1D #1D8E79
split-complementary
#411D8E #8E791D #318E1D
monochromatic
#120828 #2A135B #411D8E #5827C1 #794BDA

Accessibility & contrast

On white

11.72
#411D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#411D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #411D8E
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##411D8E#FFFFFF#000000##FFFFFF
##411D8E1.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A91
Deuteranopia (green-blind)
#00358C
Tritanopia (blue-blind)
#233D55
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #411d8e;
/* rgb */ color: rgb(65, 29, 142);
/* oklch */ color: oklch(36.1% 0.170 289.4);
Tailwind
colors: {
  custom: {
    50: '#7f5eb0',
    500: '#411d8e',
    950: '#000000',
  },
}
SCSS
$custom: #411d8e;
$custom-light: #7f5eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#411d8e",
  "rgb": {
    "r": 65,
    "g": 29,
    "b": 142
  },
  "hsl": {
    "h": 259.115,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36068,
    "c": 0.1703,
    "h": 289.4
  },
  "luminance": 0.03956
}

Semantic roles & 50–950 ramp

primary
#411D8E
secondary
#98BD4A
accent
#E93FB3
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #411D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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