#412E77#412E77

#412E77 is a dark, moderate violet. Relative luminance 0.044; OKLCH L 36.5% C 0.119 H 291.3°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#412E77
RGBrgb(65, 46, 119)
HSLhsl(256, 44%, 32%)
HSVhsv(256, 61%, 47%)
CMYKcmyk(45.4%, 61.3%, 0%, 53.3%)
CIE-LABlab(24.98, 27.68, -39.02)
CIE-LCHlch(24.98, 47.84, 305.34°)
OKLaboklab(36.49% 0.0434 -0.1113)
OKLCHoklch(36.49% 0.119 291.3)
XYZxyz(6.4858, 4.4095, 17.9586)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412E77 #64772E
analogous
#2E4077 #412E77 #652E77
triadic
#412E77 #77412E #2E7741
tetradic
#412E77 #772E40 #64772E #2E7765
square
#412E77 #772E40 #64772E #2E7765
split-complementary
#412E77 #77652E #40772E
monochromatic
#110C1F #291D4B #412E77 #593FA3 #785EC1

Accessibility & contrast

On white

11.16
#412E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412E77
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412E77#FFFFFF#000000##FFFFFF
##412E771.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C79
Deuteranopia (green-blind)
#033A75
Tritanopia (blue-blind)
#313E4E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #412e77;
/* rgb */ color: rgb(65, 46, 119);
/* oklch */ color: oklch(36.5% 0.119 291.3);
Tailwind
colors: {
  custom: {
    50: '#7a679f',
    500: '#412e77',
    950: '#000000',
  },
}
SCSS
$custom: #412e77;
$custom-light: #7a679f;
$custom-dark: #000000;
JSON
{
  "hex": "#412e77",
  "rgb": {
    "r": 65,
    "g": 46,
    "b": 119
  },
  "hsl": {
    "h": 255.616,
    "s": 44.242,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36493,
    "c": 0.11944,
    "h": 291.3
  },
  "luminance": 0.0441
}

Semantic roles & 50–950 ramp

primary
#412E77
secondary
#93A859
accent
#D454B3
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #412E77

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

Preview Lab → · Contrast checker → · Palette generator →

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