#411778#411778

#411778 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.151 H 296.8°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#411778
RGBrgb(65, 23, 120)
HSLhsl(266, 68%, 28%)
HSVhsv(266, 81%, 47%)
CMYKcmyk(45.8%, 80.8%, 0%, 52.9%)
CIE-LABlab(20.41, 40.76, -47.10)
CIE-LCHlch(20.41, 62.28, 310.87°)
OKLaboklab(33.24% 0.0682 -0.1349)
OKLCHoklch(33.24% 0.151 296.8)
XYZxyz(5.8756, 3.0926, 18.0530)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#411778 #4E7817
analogous
#171E78 #411778 #711778
triadic
#411778 #784117 #177841
tetradic
#411778 #78171E #4E7817 #177871
square
#411778 #78171E #4E7817 #177871
split-complementary
#411778 #787117 #1E7817
monochromatic
#0E051A #250D45 #411778 #5D21AB #7A32D8

Accessibility & contrast

On white

12.97
#411778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#411778 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #411778
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##411778#FFFFFF#000000##FFFFFF
##4117781.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327B
Deuteranopia (green-blind)
#003076
Tritanopia (blue-blind)
#323247
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #411778;
/* rgb */ color: rgb(65, 23, 120);
/* oklch */ color: oklch(33.2% 0.151 296.8);
Tailwind
colors: {
  custom: {
    50: '#7c5aa0',
    500: '#411778',
    950: '#000000',
  },
}
SCSS
$custom: #411778;
$custom-light: #7c5aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#411778",
  "rgb": {
    "r": 65,
    "g": 23,
    "b": 120
  },
  "hsl": {
    "h": 265.979,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33242,
    "c": 0.15116,
    "h": 296.8
  },
  "luminance": 0.03093
}

Semantic roles & 50–950 ramp

primary
#411778
secondary
#7DAD3E
accent
#EB3DA0
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040F
muted
#7C797E

Preview Lab

Preview with #411778

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

Preview Lab → · Contrast checker → · Palette generator →

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