#411B82#411B82

#411B82 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.7% C 0.158 H 293.0°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#411B82
RGBrgb(65, 27, 130)
HSLhsl(262, 66%, 31%)
HSVhsv(262, 79%, 51%)
CMYKcmyk(50%, 79.2%, 0%, 49%)
CIE-LABlab(22.01, 41.66, -50.83)
CIE-LCHlch(22.01, 65.72, 309.34°)
OKLaboklab(34.66% 0.0618 -0.1459)
OKLCHoklch(34.66% 0.158 293)
XYZxyz(6.6000, 3.5192, 21.4463)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#411B82 #5C821B
analogous
#1B2882 #411B82 #741B82
triadic
#411B82 #82411B #1B8241
tetradic
#411B82 #821B28 #5C821B #1B8274
square
#411B82 #821B28 #5C821B #1B8274
split-complementary
#411B82 #82741B #28821B
monochromatic
#0E061D #28104F #411B82 #5A26B5 #7840D7

Accessibility & contrast

On white

12.33
#411B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #411B82
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##411B82#FFFFFF#000000##FFFFFF
##411B821.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003685
Deuteranopia (green-blind)
#003380
Tritanopia (blue-blind)
#2C384E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #411b82;
/* rgb */ color: rgb(65, 27, 130);
/* oklch */ color: oklch(34.7% 0.158 293.0);
Tailwind
colors: {
  custom: {
    50: '#7d5ca7',
    500: '#411b82',
    950: '#000000',
  },
}
SCSS
$custom: #411b82;
$custom-light: #7d5ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#411b82",
  "rgb": {
    "r": 65,
    "g": 27,
    "b": 130
  },
  "hsl": {
    "h": 262.136,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34656,
    "c": 0.15841,
    "h": 293
  },
  "luminance": 0.03519
}

Semantic roles & 50–950 ramp

primary
#411B82
secondary
#8BB643
accent
#E93FAA
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #411B82

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

Preview Lab → · Contrast checker → · Palette generator →

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