#411F72#411F72

#411F72 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.7% C 0.135 H 297.4°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#411F72
RGBrgb(65, 31, 114)
HSLhsl(265, 57%, 28%)
HSVhsv(265, 73%, 45%)
CMYKcmyk(43%, 72.8%, 0%, 55.3%)
CIE-LABlab(21.28, 35.11, -41.83)
CIE-LCHlch(21.28, 54.61, 310.01°)
OKLaboklab(33.69% 0.0619 -0.1195)
OKLCHoklch(33.69% 0.135 297.4)
XYZxyz(5.7064, 3.3186, 16.2562)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#411F72 #50721F
analogous
#1F2772 #411F72 #6A1F72
triadic
#411F72 #72411F #1F7241
tetradic
#411F72 #721F27 #50721F #1F726A
square
#411F72 #721F27 #50721F #1F726A
split-complementary
#411F72 #726A1F #27721F
monochromatic
#0E0718 #261242 #411F72 #5C2CA2 #7940CB

Accessibility & contrast

On white

12.62
#411F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #411F72
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##411F72#FFFFFF#000000##FFFFFF
##411F721.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003374
Deuteranopia (green-blind)
#003270
Tritanopia (blue-blind)
#353346
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #411f72;
/* rgb */ color: rgb(65, 31, 114);
/* oklch */ color: oklch(33.7% 0.135 297.4);
Tailwind
colors: {
  custom: {
    50: '#7a5e9b',
    500: '#411f72',
    950: '#000000',
  },
}
SCSS
$custom: #411f72;
$custom-light: #7a5e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#411f72",
  "rgb": {
    "r": 65,
    "g": 31,
    "b": 114
  },
  "hsl": {
    "h": 264.578,
    "s": 57.241,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33686,
    "c": 0.13456,
    "h": 297.4
  },
  "luminance": 0.03319
}

Semantic roles & 50–950 ramp

primary
#411F72
secondary
#7FA647
accent
#E047A2
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #411F72

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

Preview Lab → · Contrast checker → · Palette generator →

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