#411F8B#411F8B

#411F8B is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.0% C 0.165 H 289.8°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#411F8B
RGBrgb(65, 31, 139)
HSLhsl(259, 64%, 33%)
HSVhsv(259, 78%, 55%)
CMYKcmyk(53.2%, 77.7%, 0%, 45.5%)
CIE-LABlab(23.56, 42.28, -53.93)
CIE-LCHlch(23.56, 68.53, 308.10°)
OKLaboklab(36.01% 0.0559 -0.155)
OKLCHoklch(36.01% 0.165 289.8)
XYZxyz(7.3288, 3.9675, 24.8007)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#411F8B #698B1F
analogous
#1F338B #411F8B #771F8B
triadic
#411F8B #8B411F #1F8B41
tetradic
#411F8B #8B1F33 #698B1F #1F8B77
square
#411F8B #8B1F33 #698B1F #1F8B77
split-complementary
#411F8B #8B771F #338B1F
monochromatic
#120927 #2A1459 #411F8B #582ABD #794DD7

Accessibility & contrast

On white

11.71
#411F8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #411F8B
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##411F8B#FFFFFF#000000##FFFFFF
##411F8B1.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8E
Deuteranopia (green-blind)
#003689
Tritanopia (blue-blind)
#263D54
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #411f8b;
/* rgb */ color: rgb(65, 31, 139);
/* oklch */ color: oklch(36.0% 0.165 289.8);
Tailwind
colors: {
  custom: {
    50: '#7e5fae',
    500: '#411f8b',
    950: '#000000',
  },
}
SCSS
$custom: #411f8b;
$custom-light: #7e5fae;
$custom-dark: #000000;
JSON
{
  "hex": "#411f8b",
  "rgb": {
    "r": 65,
    "g": 31,
    "b": 139
  },
  "hsl": {
    "h": 258.889,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36007,
    "c": 0.16475,
    "h": 289.8
  },
  "luminance": 0.03968
}

Semantic roles & 50–950 ramp

primary
#411F8B
secondary
#97BA4C
accent
#E741B3
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #411F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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