#411978#411978

#411978 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.5% C 0.149 H 296.5°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#411978
RGBrgb(65, 25, 120)
HSLhsl(265, 66%, 28%)
HSVhsv(265, 79%, 47%)
CMYKcmyk(45.8%, 79.2%, 0%, 52.9%)
CIE-LABlab(20.73, 39.84, -46.57)
CIE-LCHlch(20.73, 61.29, 310.54°)
OKLaboklab(33.47% 0.0665 -0.1334)
OKLCHoklch(33.47% 0.149 296.5)
XYZxyz(5.9169, 3.1750, 18.0668)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#411978 #507819
analogous
#192078 #411978 #701978
triadic
#411978 #784119 #197841
tetradic
#411978 #781920 #507819 #197870
square
#411978 #781920 #507819 #197870
split-complementary
#411978 #787019 #207819
monochromatic
#0E0519 #260E45 #411978 #5C24AB #7936D5

Accessibility & contrast

On white

12.84
#411978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#411978 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #411978
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##411978#FFFFFF#000000##FFFFFF
##4119781.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327B
Deuteranopia (green-blind)
#003176
Tritanopia (blue-blind)
#323348
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #411978;
/* rgb */ color: rgb(65, 25, 120);
/* oklch */ color: oklch(33.5% 0.149 296.5);
Tailwind
colors: {
  custom: {
    50: '#7c5ba0',
    500: '#411978',
    950: '#000000',
  },
}
SCSS
$custom: #411978;
$custom-light: #7c5ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#411978",
  "rgb": {
    "r": 65,
    "g": 25,
    "b": 120
  },
  "hsl": {
    "h": 265.263,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33467,
    "c": 0.14901,
    "h": 296.5
  },
  "luminance": 0.03175
}

Semantic roles & 50–950 ramp

primary
#411978
secondary
#7FAD40
accent
#E83FA1
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040F
muted
#7C797E

Preview Lab

Preview with #411978

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

Preview Lab → · Contrast checker → · Palette generator →

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