#412B79#412B79

#412B79 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.1% C 0.127 H 291.8°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#412B79
RGBrgb(65, 43, 121)
HSLhsl(257, 48%, 32%)
HSVhsv(257, 64%, 47%)
CMYKcmyk(46.3%, 64.5%, 0%, 52.5%)
CIE-LABlab(24.42, 30.17, -41.20)
CIE-LCHlch(24.42, 51.06, 306.22°)
OKLaboklab(36.13% 0.0471 -0.1176)
OKLCHoklch(36.13% 0.127 291.8)
XYZxyz(6.4941, 4.2318, 18.5601)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412B79 #63792B
analogous
#2B3C79 #412B79 #682B79
triadic
#412B79 #79412B #2B7941
tetradic
#412B79 #792B3C #63792B #2B7968
square
#412B79 #792B3C #63792B #2B7968
split-complementary
#412B79 #79682B #3C792B
monochromatic
#100B1F #291B4C #412B79 #593BA6 #785AC4

Accessibility & contrast

On white

11.37
#412B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#412B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412B79
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412B79#FFFFFF#000000##FFFFFF
##412B791.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7B
Deuteranopia (green-blind)
#003877
Tritanopia (blue-blind)
#313D4D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #412b79;
/* rgb */ color: rgb(65, 43, 121);
/* oklch */ color: oklch(36.1% 0.127 291.8);
Tailwind
colors: {
  custom: {
    50: '#7a65a0',
    500: '#412b79',
    950: '#000000',
  },
}
SCSS
$custom: #412b79;
$custom-light: #7a65a0;
$custom-dark: #000000;
JSON
{
  "hex": "#412b79",
  "rgb": {
    "r": 65,
    "g": 43,
    "b": 121
  },
  "hsl": {
    "h": 256.923,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36133,
    "c": 0.12671,
    "h": 291.8
  },
  "luminance": 0.04232
}

Semantic roles & 50–950 ramp

primary
#412B79
secondary
#92AA56
accent
#D751B1
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A060F
muted
#7C7A7E

Preview Lab

Preview with #412B79

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

Preview Lab → · Contrast checker → · Palette generator →

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