#411F8F#411F8F

#411F8F is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.169 H 288.8°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#411F8F
RGBrgb(65, 31, 143)
HSLhsl(258, 64%, 34%)
HSVhsv(258, 78%, 56%)
CMYKcmyk(54.5%, 78.3%, 0%, 43.9%)
CIE-LABlab(23.96, 43.43, -55.77)
CIE-LCHlch(23.96, 70.69, 307.91°)
OKLaboklab(36.4% 0.0547 -0.1604)
OKLCHoklch(36.4% 0.169 288.8)
XYZxyz(7.6264, 4.0866, 26.3682)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#411F8F #6D8F1F
analogous
#1F358F #411F8F #791F8F
triadic
#411F8F #8F411F #1F8F41
tetradic
#411F8F #8F1F35 #6D8F1F #1F8F79
square
#411F8F #8F1F35 #6D8F1F #1F8F79
split-complementary
#411F8F #8F791F #358F1F
monochromatic
#13092A #2A145D #411F8F #582AC1 #794FD9

Accessibility & contrast

On white

11.55
#411F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#411F8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #411F8F
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##411F8F#FFFFFF#000000##FFFFFF
##411F8F1.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B92
Deuteranopia (green-blind)
#00368D
Tritanopia (blue-blind)
#223F56
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #411f8f;
/* rgb */ color: rgb(65, 31, 143);
/* oklch */ color: oklch(36.4% 0.169 288.8);
Tailwind
colors: {
  custom: {
    50: '#7f5fb1',
    500: '#411f8f',
    950: '#000000',
  },
}
SCSS
$custom: #411f8f;
$custom-light: #7f5fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#411f8f",
  "rgb": {
    "r": 65,
    "g": 31,
    "b": 143
  },
  "hsl": {
    "h": 258.214,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.364,
    "c": 0.16947,
    "h": 288.8
  },
  "luminance": 0.04087
}

Semantic roles & 50–950 ramp

primary
#411F8F
secondary
#9BBC4E
accent
#E740B5
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #411F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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