#411F8E#411F8E

#411F8E is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.3% C 0.168 H 289.1°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#411F8E
RGBrgb(65, 31, 142)
HSLhsl(258, 64%, 34%)
HSVhsv(258, 78%, 56%)
CMYKcmyk(54.2%, 78.2%, 0%, 44.3%)
CIE-LABlab(23.86, 43.15, -55.31)
CIE-LCHlch(23.86, 70.15, 307.95°)
OKLaboklab(36.3% 0.055 -0.159)
OKLCHoklch(36.3% 0.168 289.1)
XYZxyz(7.5510, 4.0564, 25.9710)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#411F8E #6C8E1F
analogous
#1F358E #411F8E #791F8E
triadic
#411F8E #8E411F #1F8E41
tetradic
#411F8E #8E1F35 #6C8E1F #1F8E79
square
#411F8E #8E1F35 #6C8E1F #1F8E79
split-complementary
#411F8E #8E791F #358E1F
monochromatic
#13092A #2A145C #411F8E #582AC0 #794FD9

Accessibility & contrast

On white

11.59
#411F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#411F8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #411F8E
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##411F8E#FFFFFF#000000##FFFFFF
##411F8E1.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B91
Deuteranopia (green-blind)
#00368C
Tritanopia (blue-blind)
#233E55
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #411f8e;
/* rgb */ color: rgb(65, 31, 142);
/* oklch */ color: oklch(36.3% 0.168 289.1);
Tailwind
colors: {
  custom: {
    50: '#7f5fb0',
    500: '#411f8e',
    950: '#000000',
  },
}
SCSS
$custom: #411f8e;
$custom-light: #7f5fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#411f8e",
  "rgb": {
    "r": 65,
    "g": 31,
    "b": 142
  },
  "hsl": {
    "h": 258.378,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36302,
    "c": 0.16829,
    "h": 289.1
  },
  "luminance": 0.04057
}

Semantic roles & 50–950 ramp

primary
#411F8E
secondary
#9ABB4D
accent
#E741B4
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #411F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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