#411D7B#411D7B

#411D7B is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.2% C 0.148 H 294.7°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#411D7B
RGBrgb(65, 29, 123)
HSLhsl(263, 62%, 30%)
HSVhsv(263, 76%, 48%)
CMYKcmyk(47.2%, 76.4%, 0%, 51.8%)
CIE-LABlab(21.70, 38.71, -46.90)
CIE-LCHlch(21.70, 60.82, 309.53°)
OKLaboklab(34.23% 0.0619 -0.1344)
OKLCHoklch(34.23% 0.148 294.7)
XYZxyz(6.1935, 3.4324, 19.0713)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#411D7B #577B1D
analogous
#1D287B #411D7B #701D7B
triadic
#411D7B #7B411D #1D7B41
tetradic
#411D7B #7B1D28 #577B1D #1D7B70
square
#411D7B #7B1D28 #577B1D #1D7B70
split-complementary
#411D7B #7B701D #287B1D
monochromatic
#0D0619 #271149 #411D7B #5B29AD #7840D2

Accessibility & contrast

On white

12.45
#411D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#411D7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #411D7B
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##411D7B#FFFFFF#000000##FFFFFF
##411D7B1.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357E
Deuteranopia (green-blind)
#003279
Tritanopia (blue-blind)
#30364A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #411d7b;
/* rgb */ color: rgb(65, 29, 123);
/* oklch */ color: oklch(34.2% 0.148 294.7);
Tailwind
colors: {
  custom: {
    50: '#7c5da2',
    500: '#411d7b',
    950: '#000000',
  },
}
SCSS
$custom: #411d7b;
$custom-light: #7c5da2;
$custom-dark: #000000;
JSON
{
  "hex": "#411d7b",
  "rgb": {
    "r": 65,
    "g": 29,
    "b": 123
  },
  "hsl": {
    "h": 262.979,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34232,
    "c": 0.14797,
    "h": 294.7
  },
  "luminance": 0.03433
}

Semantic roles & 50–950 ramp

primary
#411D7B
secondary
#86AF45
accent
#E543A7
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #411D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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