#411579#411579

#411579 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.1% C 0.154 H 296.8°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#411579
RGBrgb(65, 21, 121)
HSLhsl(266, 70%, 28%)
HSVhsv(266, 83%, 47%)
CMYKcmyk(46.3%, 82.6%, 0%, 52.5%)
CIE-LABlab(20.21, 41.90, -48.07)
CIE-LCHlch(20.21, 63.77, 311.07°)
OKLaboklab(33.13% 0.0695 -0.1377)
OKLCHoklch(33.13% 0.154 296.8)
XYZxyz(5.8984, 3.0405, 18.3616)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#411579 #4D7915
analogous
#151B79 #411579 #731579
triadic
#411579 #794115 #157941
tetradic
#411579 #79151B #4D7915 #157973
square
#411579 #79151B #4D7915 #157973
split-complementary
#411579 #797315 #1B7915
monochromatic
#0E051A #250C45 #411579 #5D1EAD #7A2EDB

Accessibility & contrast

On white

13.06
#411579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#411579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #411579
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##411579#FFFFFF#000000##FFFFFF
##4115791.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317C
Deuteranopia (green-blind)
#002F77
Tritanopia (blue-blind)
#323147
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #411579;
/* rgb */ color: rgb(65, 21, 121);
/* oklch */ color: oklch(33.1% 0.154 296.8);
Tailwind
colors: {
  custom: {
    50: '#7c59a1',
    500: '#411579',
    950: '#000000',
  },
}
SCSS
$custom: #411579;
$custom-light: #7c59a1;
$custom-dark: #000000;
JSON
{
  "hex": "#411579",
  "rgb": {
    "r": 65,
    "g": 21,
    "b": 121
  },
  "hsl": {
    "h": 266.4,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.33129,
    "c": 0.15429,
    "h": 296.8
  },
  "luminance": 0.03041
}

Semantic roles & 50–950 ramp

primary
#411579
secondary
#7CAF3B
accent
#ED3B9F
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #411579

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

Preview Lab → · Contrast checker → · Palette generator →

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