#412B77#412B77

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

Color values

HEX#412B77
RGBrgb(65, 43, 119)
HSLhsl(257, 47%, 32%)
HSVhsv(257, 64%, 47%)
CMYKcmyk(45.4%, 63.9%, 0%, 53.3%)
CIE-LABlab(24.27, 29.56, -40.18)
CIE-LCHlch(24.27, 49.88, 306.34°)
OKLaboklab(35.97% 0.0472 -0.1146)
OKLCHoklch(35.97% 0.124 292.4)
XYZxyz(6.3727, 4.1833, 17.9209)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412B77 #61772B
analogous
#2B3B77 #412B77 #672B77
triadic
#412B77 #77412B #2B7741
tetradic
#412B77 #772B3B #61772B #2B7767
square
#412B77 #772B3B #61772B #2B7767
split-complementary
#412B77 #77672B #3B772B
monochromatic
#100B1D #281B4A #412B77 #5A3BA4 #7859C3

Accessibility & contrast

On white

11.43
#412B77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#412B77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412B77
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412B77#FFFFFF#000000##FFFFFF
##412B771.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B79
Deuteranopia (green-blind)
#003875
Tritanopia (blue-blind)
#323C4C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #412b77;
/* rgb */ color: rgb(65, 43, 119);
/* oklch */ color: oklch(36.0% 0.124 292.4);
Tailwind
colors: {
  custom: {
    50: '#7a659f',
    500: '#412b77',
    950: '#000000',
  },
}
SCSS
$custom: #412b77;
$custom-light: #7a659f;
$custom-dark: #000000;
JSON
{
  "hex": "#412b77",
  "rgb": {
    "r": 65,
    "g": 43,
    "b": 119
  },
  "hsl": {
    "h": 257.368,
    "s": 46.914,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35971,
    "c": 0.12398,
    "h": 292.4
  },
  "luminance": 0.04183
}

Semantic roles & 50–950 ramp

primary
#412B77
secondary
#90A955
accent
#D751B0
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A060E
muted
#7C7A7E

Preview Lab

Preview with #412B77

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

Preview Lab → · Contrast checker → · Palette generator →

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