#412D79#412D79

#412D79 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.5% C 0.124 H 291.1°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#412D79
RGBrgb(65, 45, 121)
HSLhsl(256, 46%, 33%)
HSVhsv(256, 63%, 47%)
CMYKcmyk(46.3%, 62.8%, 0%, 52.5%)
CIE-LABlab(24.89, 28.93, -40.44)
CIE-LCHlch(24.89, 49.72, 305.58°)
OKLaboklab(36.48% 0.0446 -0.1154)
OKLCHoklch(36.48% 0.124 291.1)
XYZxyz(6.5686, 4.3808, 18.5849)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412D79 #65792D
analogous
#2D3F79 #412D79 #672D79
triadic
#412D79 #79412D #2D7941
tetradic
#412D79 #792D3F #65792D #2D7967
square
#412D79 #792D3F #65792D #2D7967
split-complementary
#412D79 #79672D #3F792D
monochromatic
#110C20 #291C4C #412D79 #593EA6 #785DC3

Accessibility & contrast

On white

11.19
#412D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#412D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412D79
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412D79#FFFFFF#000000##FFFFFF
##412D791.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7B
Deuteranopia (green-blind)
#003977
Tritanopia (blue-blind)
#313E4E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #412d79;
/* rgb */ color: rgb(65, 45, 121);
/* oklch */ color: oklch(36.5% 0.124 291.1);
Tailwind
colors: {
  custom: {
    50: '#7a67a0',
    500: '#412d79',
    950: '#000000',
  },
}
SCSS
$custom: #412d79;
$custom-light: #7a67a0;
$custom-dark: #000000;
JSON
{
  "hex": "#412d79",
  "rgb": {
    "r": 65,
    "g": 45,
    "b": 121
  },
  "hsl": {
    "h": 255.789,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36475,
    "c": 0.12374,
    "h": 291.1
  },
  "luminance": 0.04381
}

Semantic roles & 50–950 ramp

primary
#412D79
secondary
#94A958
accent
#D552B3
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A060F
muted
#7C7A7E

Preview Lab

Preview with #412D79

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

Preview Lab → · Contrast checker → · Palette generator →

#412D79 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva