#411879#411879

#411879 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.4% C 0.151 H 296.3°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#411879
RGBrgb(65, 24, 121)
HSLhsl(265, 67%, 28%)
HSVhsv(265, 80%, 47%)
CMYKcmyk(46.3%, 80.2%, 0%, 52.5%)
CIE-LABlab(20.66, 40.58, -47.32)
CIE-LCHlch(20.66, 62.34, 310.61°)
OKLaboklab(33.45% 0.067 -0.1356)
OKLCHoklch(33.45% 0.151 296.3)
XYZxyz(5.9569, 3.1574, 18.3810)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#411879 #507918
analogous
#181F79 #411879 #711879
triadic
#411879 #794118 #187941
tetradic
#411879 #79181F #507918 #187971
square
#411879 #79181F #507918 #187971
split-complementary
#411879 #797118 #1F7918
monochromatic
#0E051A #260E46 #411879 #5C22AC #7935D7

Accessibility & contrast

On white

12.87
#411879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#411879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #411879
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##411879#FFFFFF#000000##FFFFFF
##4118791.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #411879;
/* rgb */ color: rgb(65, 24, 121);
/* oklch */ color: oklch(33.4% 0.151 296.3);
Tailwind
colors: {
  custom: {
    50: '#7c5aa1',
    500: '#411879',
    950: '#000000',
  },
}
SCSS
$custom: #411879;
$custom-light: #7c5aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#411879",
  "rgb": {
    "r": 65,
    "g": 24,
    "b": 121
  },
  "hsl": {
    "h": 265.361,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33448,
    "c": 0.15124,
    "h": 296.3
  },
  "luminance": 0.03158
}

Semantic roles & 50–950 ramp

primary
#411879
secondary
#7FAE3F
accent
#EA3EA1
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #411879

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

Preview Lab → · Contrast checker → · Palette generator →

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