#411B81#411B81

#411B81 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.6% C 0.157 H 293.3°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#411B81
RGBrgb(65, 27, 129)
HSLhsl(262, 65%, 31%)
HSVhsv(262, 79%, 51%)
CMYKcmyk(49.6%, 79.1%, 0%, 49.4%)
CIE-LABlab(21.92, 41.38, -50.35)
CIE-LCHlch(21.92, 65.18, 309.42°)
OKLaboklab(34.56% 0.0621 -0.1445)
OKLCHoklch(34.56% 0.157 293.3)
XYZxyz(6.5333, 3.4924, 21.0945)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#411B81 #5B811B
analogous
#1B2881 #411B81 #741B81
triadic
#411B81 #81411B #1B8141
tetradic
#411B81 #811B28 #5B811B #1B8174
square
#411B81 #811B28 #5B811B #1B8174
split-complementary
#411B81 #81741B #28811B
monochromatic
#0E061C #27104E #411B81 #5A26B4 #783FD7

Accessibility & contrast

On white

12.36
#411B81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#411B81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #411B81
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##411B81#FFFFFF#000000##FFFFFF
##411B811.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #411b81;
/* rgb */ color: rgb(65, 27, 129);
/* oklch */ color: oklch(34.6% 0.157 293.3);
Tailwind
colors: {
  custom: {
    50: '#7d5ca7',
    500: '#411b81',
    950: '#000000',
  },
}
SCSS
$custom: #411b81;
$custom-light: #7d5ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#411b81",
  "rgb": {
    "r": 65,
    "g": 27,
    "b": 129
  },
  "hsl": {
    "h": 262.353,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.34559,
    "c": 0.15725,
    "h": 293.3
  },
  "luminance": 0.03493
}

Semantic roles & 50–950 ramp

primary
#411B81
secondary
#8AB543
accent
#E83FA9
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #411B81

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

Preview Lab → · Contrast checker → · Palette generator →

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