#411F7F#411F7F

#411F7F is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.9% C 0.150 H 293.1°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#411F7F
RGBrgb(65, 31, 127)
HSLhsl(261, 61%, 31%)
HSVhsv(261, 76%, 50%)
CMYKcmyk(48.8%, 75.6%, 0%, 50.2%)
CIE-LABlab(22.43, 38.82, -48.25)
CIE-LCHlch(22.43, 61.93, 308.82°)
OKLaboklab(34.86% 0.0591 -0.1383)
OKLCHoklch(34.86% 0.15 293.1)
XYZxyz(6.4997, 3.6359, 20.4339)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#411F7F #5D7F1F
analogous
#1F2D7F #411F7F #711F7F
triadic
#411F7F #7F411F #1F7F41
tetradic
#411F7F #7F1F2D #5D7F1F #1F7F71
square
#411F7F #7F1F2D #5D7F1F #1F7F71
split-complementary
#411F7F #7F711F #2D7F1F
monochromatic
#0F071D #28134E #411F7F #5A2BB0 #7846D2

Accessibility & contrast

On white

12.16
#411F7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#411F7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #411F7F
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##411F7F#FFFFFF#000000##FFFFFF
##411F7F1.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003782
Deuteranopia (green-blind)
#00347D
Tritanopia (blue-blind)
#2E384D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #411f7f;
/* rgb */ color: rgb(65, 31, 127);
/* oklch */ color: oklch(34.9% 0.150 293.1);
Tailwind
colors: {
  custom: {
    50: '#7c5ea5',
    500: '#411f7f',
    950: '#000000',
  },
}
SCSS
$custom: #411f7f;
$custom-light: #7c5ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#411f7f",
  "rgb": {
    "r": 65,
    "g": 31,
    "b": 127
  },
  "hsl": {
    "h": 261.25,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34861,
    "c": 0.15042,
    "h": 293.1
  },
  "luminance": 0.03636
}

Semantic roles & 50–950 ramp

primary
#411F7F
secondary
#8CB248
accent
#E444AB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #411F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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