#411F71#411F71

#411F71 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.6% C 0.133 H 297.7°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#411F71
RGBrgb(65, 31, 113)
HSLhsl(265, 57%, 28%)
HSVhsv(265, 73%, 44%)
CMYKcmyk(42.5%, 72.6%, 0%, 55.7%)
CIE-LABlab(21.19, 34.82, -41.32)
CIE-LCHlch(21.19, 54.04, 310.12°)
OKLaboklab(33.6% 0.0621 -0.118)
OKLCHoklch(33.6% 0.133 297.7)
XYZxyz(5.6498, 3.2960, 15.9581)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#411F71 #4F711F
analogous
#1F2671 #411F71 #6A1F71
triadic
#411F71 #71411F #1F7141
tetradic
#411F71 #711F26 #4F711F #1F716A
square
#411F71 #711F26 #4F711F #1F716A
split-complementary
#411F71 #716A1F #26711F
monochromatic
#0E0718 #251241 #411F71 #5D2CA1 #7940CB

Accessibility & contrast

On white

12.66
#411F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#411F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #411F71
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##411F71#FFFFFF#000000##FFFFFF
##411F711.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003373
Deuteranopia (green-blind)
#00326F
Tritanopia (blue-blind)
#353345
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #411f71;
/* rgb */ color: rgb(65, 31, 113);
/* oklch */ color: oklch(33.6% 0.133 297.7);
Tailwind
colors: {
  custom: {
    50: '#7a5d9a',
    500: '#411f71',
    950: '#000000',
  },
}
SCSS
$custom: #411f71;
$custom-light: #7a5d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#411f71",
  "rgb": {
    "r": 65,
    "g": 31,
    "b": 113
  },
  "hsl": {
    "h": 264.878,
    "s": 56.944,
    "l": 28.235
  },
  "oklch": {
    "l": 0.33599,
    "c": 0.13332,
    "h": 297.7
  },
  "luminance": 0.03296
}

Semantic roles & 50–950 ramp

primary
#411F71
secondary
#7EA547
accent
#E048A1
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #411F71

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

Preview Lab → · Contrast checker → · Palette generator →

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