#411781#411781

#411781 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.1% C 0.161 H 293.9°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#411781
RGBrgb(65, 23, 129)
HSLhsl(264, 70%, 30%)
HSVhsv(264, 82%, 51%)
CMYKcmyk(49.6%, 82.2%, 0%, 49.4%)
CIE-LABlab(21.29, 43.20, -51.39)
CIE-LCHlch(21.29, 67.13, 310.05°)
OKLaboklab(34.12% 0.0653 -0.1475)
OKLCHoklch(34.12% 0.161 293.9)
XYZxyz(6.4477, 3.3214, 21.0660)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#411781 #578117
analogous
#172281 #411781 #761781
triadic
#411781 #814117 #178141
tetradic
#411781 #811722 #578117 #178176
square
#411781 #811722 #578117 #178176
split-complementary
#411781 #817617 #228117
monochromatic
#0D051A #270E4D #411781 #5B20B5 #7837DB

Accessibility & contrast

On white

12.62
#411781 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#411781 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##411781#FFFFFF#000000##FFFFFF
##4117811.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)
#003484
Deuteranopia (green-blind)
#00317F
Tritanopia (blue-blind)
#2D354C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #411781;
/* rgb */ color: rgb(65, 23, 129);
/* oklch */ color: oklch(34.1% 0.161 293.9);
Tailwind
colors: {
  custom: {
    50: '#7d5aa7',
    500: '#411781',
    950: '#000000',
  },
}
SCSS
$custom: #411781;
$custom-light: #7d5aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#411781",
  "rgb": {
    "r": 65,
    "g": 23,
    "b": 129
  },
  "hsl": {
    "h": 263.774,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3412,
    "c": 0.16127,
    "h": 293.9
  },
  "luminance": 0.03322
}

Semantic roles & 50–950 ramp

primary
#411781
secondary
#86B53E
accent
#ED3BA6
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #411781

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

Preview Lab → · Contrast checker → · Palette generator →

#411781 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva