#411D8F#411D8F

#411D8F is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.171 H 289.1°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#411D8F
RGBrgb(65, 29, 143)
HSLhsl(259, 66%, 34%)
HSVhsv(259, 80%, 56%)
CMYKcmyk(54.5%, 79.7%, 0%, 43.9%)
CIE-LABlab(23.62, 44.39, -56.32)
CIE-LCHlch(23.62, 71.71, 308.24°)
OKLaboklab(36.17% 0.0562 -0.162)
OKLCHoklch(36.17% 0.171 289.1)
XYZxyz(7.5758, 3.9854, 26.3513)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#411D8F #6B8F1D
analogous
#1D328F #411D8F #7A1D8F
triadic
#411D8F #8F411D #1D8F41
tetradic
#411D8F #8F1D32 #6B8F1D #1D8F7A
square
#411D8F #8F1D32 #6B8F1D #1D8F7A
split-complementary
#411D8F #8F7A1D #328F1D
monochromatic
#130829 #2A135C #411D8F #5827C2 #794CDB

Accessibility & contrast

On white

11.68
#411D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#411D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #411D8F
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##411D8F#FFFFFF#000000##FFFFFF
##411D8F1.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A92
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#223E56
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #411d8f;
/* rgb */ color: rgb(65, 29, 143);
/* oklch */ color: oklch(36.2% 0.171 289.1);
Tailwind
colors: {
  custom: {
    50: '#7f5eb1',
    500: '#411d8f',
    950: '#000000',
  },
}
SCSS
$custom: #411d8f;
$custom-light: #7f5eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#411d8f",
  "rgb": {
    "r": 65,
    "g": 29,
    "b": 143
  },
  "hsl": {
    "h": 258.947,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36168,
    "c": 0.17146,
    "h": 289.1
  },
  "luminance": 0.03986
}

Semantic roles & 50–950 ramp

primary
#411D8F
secondary
#99BD4B
accent
#E93FB3
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #411D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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