#411F81#411F81

#411F81 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.0% C 0.153 H 292.5°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#411F81
RGBrgb(65, 31, 129)
HSLhsl(261, 61%, 31%)
HSVhsv(261, 76%, 51%)
CMYKcmyk(49.6%, 76%, 0%, 49.4%)
CIE-LABlab(22.61, 39.40, -49.21)
CIE-LCHlch(22.61, 63.04, 308.68°)
OKLaboklab(35.05% 0.0586 -0.1412)
OKLCHoklch(35.05% 0.153 292.5)
XYZxyz(6.6313, 3.6885, 21.1272)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#411F81 #5F811F
analogous
#1F2E81 #411F81 #721F81
triadic
#411F81 #81411F #1F8141
tetradic
#411F81 #811F2E #5F811F #1F8172
square
#411F81 #811F2E #5F811F #1F8172
split-complementary
#411F81 #81721F #2E811F
monochromatic
#0F071E #281350 #411F81 #5A2BB2 #7847D3

Accessibility & contrast

On white

12.08
#411F81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#411F81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #411F81
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##411F81#FFFFFF#000000##FFFFFF
##411F811.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003784
Deuteranopia (green-blind)
#00347F
Tritanopia (blue-blind)
#2D394E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #411f81;
/* rgb */ color: rgb(65, 31, 129);
/* oklch */ color: oklch(35.0% 0.153 292.5);
Tailwind
colors: {
  custom: {
    50: '#7d5ea6',
    500: '#411f81',
    950: '#000000',
  },
}
SCSS
$custom: #411f81;
$custom-light: #7d5ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#411f81",
  "rgb": {
    "r": 65,
    "g": 31,
    "b": 129
  },
  "hsl": {
    "h": 260.816,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35048,
    "c": 0.15282,
    "h": 292.5
  },
  "luminance": 0.03689
}

Semantic roles & 50–950 ramp

primary
#411F81
secondary
#8EB448
accent
#E443AD
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #411F81

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

Preview Lab → · Contrast checker → · Palette generator →

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