#412C79#412C79

#412C79 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.3% C 0.125 H 291.5°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#412C79
RGBrgb(65, 44, 121)
HSLhsl(256, 47%, 32%)
HSVhsv(256, 64%, 47%)
CMYKcmyk(46.3%, 63.6%, 0%, 52.5%)
CIE-LABlab(24.66, 29.55, -40.82)
CIE-LCHlch(24.66, 50.39, 305.90°)
OKLaboklab(36.3% 0.0458 -0.1165)
OKLCHoklch(36.3% 0.125 291.5)
XYZxyz(6.5309, 4.3054, 18.5724)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412C79 #64792C
analogous
#2C3D79 #412C79 #682C79
triadic
#412C79 #79412C #2C7941
tetradic
#412C79 #792C3D #64792C #2C7968
square
#412C79 #792C3D #64792C #2C7968
split-complementary
#412C79 #79682C #3D792C
monochromatic
#110B1F #291C4C #412C79 #593CA6 #785CC4

Accessibility & contrast

On white

11.28
#412C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#412C79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412C79
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412C79#FFFFFF#000000##FFFFFF
##412C791.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.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: #412c79;
/* rgb */ color: rgb(65, 44, 121);
/* oklch */ color: oklch(36.3% 0.125 291.5);
Tailwind
colors: {
  custom: {
    50: '#7a66a0',
    500: '#412c79',
    950: '#000000',
  },
}
SCSS
$custom: #412c79;
$custom-light: #7a66a0;
$custom-dark: #000000;
JSON
{
  "hex": "#412c79",
  "rgb": {
    "r": 65,
    "g": 44,
    "b": 121
  },
  "hsl": {
    "h": 256.364,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36303,
    "c": 0.12523,
    "h": 291.5
  },
  "luminance": 0.04306
}

Semantic roles & 50–950 ramp

primary
#412C79
secondary
#93AA57
accent
#D651B2
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A060F
muted
#7C7A7E

Preview Lab

Preview with #412C79

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

Preview Lab → · Contrast checker → · Palette generator →

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