#412A79#412A79

#412A79 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.0% C 0.128 H 292.1°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#412A79
RGBrgb(65, 42, 121)
HSLhsl(257, 48%, 32%)
HSVhsv(257, 65%, 47%)
CMYKcmyk(46.3%, 65.3%, 0%, 52.5%)
CIE-LABlab(24.19, 30.78, -41.57)
CIE-LCHlch(24.19, 51.73, 306.52°)
OKLaboklab(35.97% 0.0483 -0.1187)
OKLCHoklch(35.97% 0.128 292.1)
XYZxyz(6.4582, 4.1600, 18.5481)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412A79 #62792A
analogous
#2A3B79 #412A79 #692A79
triadic
#412A79 #79412A #2A7941
tetradic
#412A79 #792A3B #62792A #2A7969
square
#412A79 #792A3B #62792A #2A7969
split-complementary
#412A79 #79692A #3B792A
monochromatic
#100A1E #291A4C #412A79 #593AA6 #7858C5

Accessibility & contrast

On white

11.46
#412A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#412A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412A79
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412A79#FFFFFF#000000##FFFFFF
##412A791.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7C
Deuteranopia (green-blind)
#003877
Tritanopia (blue-blind)
#313C4D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #412a79;
/* rgb */ color: rgb(65, 42, 121);
/* oklch */ color: oklch(36.0% 0.128 292.1);
Tailwind
colors: {
  custom: {
    50: '#7b65a0',
    500: '#412a79',
    950: '#000000',
  },
}
SCSS
$custom: #412a79;
$custom-light: #7b65a0;
$custom-dark: #000000;
JSON
{
  "hex": "#412a79",
  "rgb": {
    "r": 65,
    "g": 42,
    "b": 121
  },
  "hsl": {
    "h": 257.468,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35966,
    "c": 0.12818,
    "h": 292.1
  },
  "luminance": 0.0416
}

Semantic roles & 50–950 ramp

primary
#412A79
secondary
#91AB54
accent
#D850B0
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A050F
muted
#7C7A7E

Preview Lab

Preview with #412A79

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

Preview Lab → · Contrast checker → · Palette generator →

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