#411D87#411D87

#411D87 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.4% C 0.162 H 291.2°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#411D87
RGBrgb(65, 29, 135)
HSLhsl(260, 65%, 32%)
HSVhsv(260, 79%, 53%)
CMYKcmyk(51.9%, 78.5%, 0%, 47.1%)
CIE-LABlab(22.83, 42.12, -52.63)
CIE-LCHlch(22.83, 67.41, 308.67°)
OKLaboklab(35.38% 0.0587 -0.1512)
OKLCHoklch(35.38% 0.162 291.2)
XYZxyz(6.9913, 3.7515, 23.2727)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#411D87 #63871D
analogous
#1D2E87 #411D87 #761D87
triadic
#411D87 #87411D #1D8741
tetradic
#411D87 #871D2E #63871D #1D8776
square
#411D87 #871D2E #63871D #1D8776
split-complementary
#411D87 #87761D #2E871D
monochromatic
#100722 #291255 #411D87 #5928B9 #7847D7

Accessibility & contrast

On white

12.00
#411D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#411D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #411D87
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##411D87#FFFFFF#000000##FFFFFF
##411D871.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388A
Deuteranopia (green-blind)
#003485
Tritanopia (blue-blind)
#293B51
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #411d87;
/* rgb */ color: rgb(65, 29, 135);
/* oklch */ color: oklch(35.4% 0.162 291.2);
Tailwind
colors: {
  custom: {
    50: '#7e5dab',
    500: '#411d87',
    950: '#000000',
  },
}
SCSS
$custom: #411d87;
$custom-light: #7e5dab;
$custom-dark: #000000;
JSON
{
  "hex": "#411d87",
  "rgb": {
    "r": 65,
    "g": 29,
    "b": 135
  },
  "hsl": {
    "h": 260.377,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.35376,
    "c": 0.16215,
    "h": 291.2
  },
  "luminance": 0.03752
}

Semantic roles & 50–950 ramp

primary
#411D87
secondary
#92B946
accent
#E840AF
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #411D87

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

Preview Lab → · Contrast checker → · Palette generator →

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