#411F7B#411F7B

#411F7B is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.5% C 0.146 H 294.3°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#411F7B
RGBrgb(65, 31, 123)
HSLhsl(262, 60%, 30%)
HSVhsv(262, 75%, 48%)
CMYKcmyk(47.2%, 74.8%, 0%, 51.8%)
CIE-LABlab(22.07, 37.67, -46.30)
CIE-LCHlch(22.07, 59.69, 309.13°)
OKLaboklab(34.49% 0.06 -0.1326)
OKLCHoklch(34.49% 0.146 294.3)
XYZxyz(6.2441, 3.5337, 19.0881)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#411F7B #597B1F
analogous
#1F2B7B #411F7B #6F1F7B
triadic
#411F7B #7B411F #1F7B41
tetradic
#411F7B #7B1F2B #597B1F #1F7B6F
square
#411F7B #7B1F2B #597B1F #1F7B6F
split-complementary
#411F7B #7B6F1F #2B7B1F
monochromatic
#0D0619 #27134A #411F7B #5B2BAC #7844D0

Accessibility & contrast

On white

12.30
#411F7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#411F7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #411F7B
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##411F7B#FFFFFF#000000##FFFFFF
##411F7B1.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367E
Deuteranopia (green-blind)
#003379
Tritanopia (blue-blind)
#30374B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #411f7b;
/* rgb */ color: rgb(65, 31, 123);
/* oklch */ color: oklch(34.5% 0.146 294.3);
Tailwind
colors: {
  custom: {
    50: '#7c5ea2',
    500: '#411f7b',
    950: '#000000',
  },
}
SCSS
$custom: #411f7b;
$custom-light: #7c5ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#411f7b",
  "rgb": {
    "r": 65,
    "g": 31,
    "b": 123
  },
  "hsl": {
    "h": 262.174,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.34492,
    "c": 0.14557,
    "h": 294.3
  },
  "luminance": 0.03534
}

Semantic roles & 50–950 ramp

primary
#411F7B
secondary
#88AE48
accent
#E345A9
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #411F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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