#411981#411981

#411981 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.159 H 293.6°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#411981
RGBrgb(65, 25, 129)
HSLhsl(263, 68%, 30%)
HSVhsv(263, 81%, 51%)
CMYKcmyk(49.6%, 80.6%, 0%, 49.4%)
CIE-LABlab(21.59, 42.31, -50.88)
CIE-LCHlch(21.59, 66.18, 309.75°)
OKLaboklab(34.33% 0.0637 -0.146)
OKLCHoklch(34.33% 0.159 293.6)
XYZxyz(6.4890, 3.4038, 21.0797)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#411981 #598119
analogous
#192581 #411981 #751981
triadic
#411981 #814119 #198141
tetradic
#411981 #811925 #598119 #198175
square
#411981 #811925 #598119 #198175
split-complementary
#411981 #817519 #258119
monochromatic
#0D051A #270F4E #411981 #5B23B4 #783BD9

Accessibility & contrast

On white

12.49
#411981 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#411981 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #411981
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##411981#FFFFFF#000000##FFFFFF
##4119811.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003584
Deuteranopia (green-blind)
#00327F
Tritanopia (blue-blind)
#2D364D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #411981;
/* rgb */ color: rgb(65, 25, 129);
/* oklch */ color: oklch(34.3% 0.159 293.6);
Tailwind
colors: {
  custom: {
    50: '#7d5ba7',
    500: '#411981',
    950: '#000000',
  },
}
SCSS
$custom: #411981;
$custom-light: #7d5ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#411981",
  "rgb": {
    "r": 65,
    "g": 25,
    "b": 129
  },
  "hsl": {
    "h": 263.077,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.34333,
    "c": 0.15932,
    "h": 293.6
  },
  "luminance": 0.03404
}

Semantic roles & 50–950 ramp

primary
#411981
secondary
#88B541
accent
#EA3DA8
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #411981

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

Preview Lab → · Contrast checker → · Palette generator →

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