#411F87#411F87

#411F87 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.6% C 0.160 H 290.9°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#411F87
RGBrgb(65, 31, 135)
HSLhsl(260, 63%, 33%)
HSVhsv(260, 77%, 53%)
CMYKcmyk(51.9%, 77%, 0%, 47.1%)
CIE-LABlab(23.18, 41.13, -52.06)
CIE-LCHlch(23.18, 66.34, 308.31°)
OKLaboklab(35.62% 0.057 -0.1495)
OKLCHoklch(35.62% 0.16 290.9)
XYZxyz(7.0419, 3.8528, 23.2896)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#411F87 #65871F
analogous
#1F3187 #411F87 #751F87
triadic
#411F87 #87411F #1F8741
tetradic
#411F87 #871F31 #65871F #1F8775
square
#411F87 #871F31 #65871F #1F8775
split-complementary
#411F87 #87751F #31871F
monochromatic
#110823 #291455 #411F87 #592AB9 #784BD6

Accessibility & contrast

On white

11.86
#411F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#411F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #411F87
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##411F87#FFFFFF#000000##FFFFFF
##411F871.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398A
Deuteranopia (green-blind)
#003585
Tritanopia (blue-blind)
#293B52
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #411f87;
/* rgb */ color: rgb(65, 31, 135);
/* oklch */ color: oklch(35.6% 0.160 290.9);
Tailwind
colors: {
  custom: {
    50: '#7d5fab',
    500: '#411f87',
    950: '#000000',
  },
}
SCSS
$custom: #411f87;
$custom-light: #7d5fab;
$custom-dark: #000000;
JSON
{
  "hex": "#411f87",
  "rgb": {
    "r": 65,
    "g": 31,
    "b": 135
  },
  "hsl": {
    "h": 259.615,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35619,
    "c": 0.16001,
    "h": 290.9
  },
  "luminance": 0.03853
}

Semantic roles & 50–950 ramp

primary
#411F87
secondary
#94B84A
accent
#E642B0
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #411F87

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

Preview Lab → · Contrast checker → · Palette generator →

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