#411D8B#411D8B

#411D8B is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.8% C 0.167 H 290.1°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#411D8B
RGBrgb(65, 29, 139)
HSLhsl(260, 65%, 33%)
HSVhsv(260, 79%, 55%)
CMYKcmyk(53.2%, 79.1%, 0%, 45.5%)
CIE-LABlab(23.22, 43.25, -54.49)
CIE-LCHlch(23.22, 69.57, 308.44°)
OKLaboklab(35.77% 0.0575 -0.1566)
OKLCHoklch(35.77% 0.167 290.1)
XYZxyz(7.2782, 3.8663, 24.7839)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#411D8B #678B1D
analogous
#1D308B #411D8B #781D8B
triadic
#411D8B #8B411D #1D8B41
tetradic
#411D8B #8B1D30 #678B1D #1D8B78
square
#411D8B #8B1D30 #678B1D #1D8B78
split-complementary
#411D8B #8B781D #308B1D
monochromatic
#120826 #291258 #411D8B #5928BE #7849D9

Accessibility & contrast

On white

11.84
#411D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#411D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #411D8B
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##411D8B#FFFFFF#000000##FFFFFF
##411D8B1.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398E
Deuteranopia (green-blind)
#003589
Tritanopia (blue-blind)
#263C53
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #411d8b;
/* rgb */ color: rgb(65, 29, 139);
/* oklch */ color: oklch(35.8% 0.167 290.1);
Tailwind
colors: {
  custom: {
    50: '#7e5eae',
    500: '#411d8b',
    950: '#000000',
  },
}
SCSS
$custom: #411d8b;
$custom-light: #7e5eae;
$custom-dark: #000000;
JSON
{
  "hex": "#411d8b",
  "rgb": {
    "r": 65,
    "g": 29,
    "b": 139
  },
  "hsl": {
    "h": 259.636,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.3577,
    "c": 0.16681,
    "h": 290.1
  },
  "luminance": 0.03867
}

Semantic roles & 50–950 ramp

primary
#411D8B
secondary
#96BB49
accent
#E83FB1
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #411D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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