#411581#411581

#411581 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.9% C 0.163 H 294.2°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#411581
RGBrgb(65, 21, 129)
HSLhsl(264, 72%, 29%)
HSVhsv(264, 84%, 51%)
CMYKcmyk(49.6%, 83.7%, 0%, 49.4%)
CIE-LABlab(21.00, 44.04, -51.86)
CIE-LCHlch(21.00, 68.03, 310.34°)
OKLaboklab(33.92% 0.0668 -0.1488)
OKLCHoklch(33.92% 0.163 294.2)
XYZxyz(6.4095, 3.2449, 21.0532)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#411581 #558115
analogous
#151F81 #411581 #771581
triadic
#411581 #814115 #158141
tetradic
#411581 #81151F #558115 #158177
square
#411581 #81151F #558115 #158177
split-complementary
#411581 #817715 #1F8115
monochromatic
#0D041A #260C4C #411581 #5C1EB6 #7833DE

Accessibility & contrast

On white

12.73
#411581 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#411581 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #411581
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##411581#FFFFFF#000000##FFFFFF
##4115811.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003484
Deuteranopia (green-blind)
#00317F
Tritanopia (blue-blind)
#2D354C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #411581;
/* rgb */ color: rgb(65, 21, 129);
/* oklch */ color: oklch(33.9% 0.163 294.2);
Tailwind
colors: {
  custom: {
    50: '#7d59a7',
    500: '#411581',
    950: '#000000',
  },
}
SCSS
$custom: #411581;
$custom-light: #7d59a7;
$custom-dark: #000000;
JSON
{
  "hex": "#411581",
  "rgb": {
    "r": 65,
    "g": 21,
    "b": 129
  },
  "hsl": {
    "h": 264.444,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3392,
    "c": 0.16313,
    "h": 294.2
  },
  "luminance": 0.03245
}

Semantic roles & 50–950 ramp

primary
#411581
secondary
#84B63C
accent
#EF39A5
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #411581

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

Preview Lab → · Contrast checker → · Palette generator →

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