#412A77#412A77

#412A77 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 35.8% C 0.125 H 292.7°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#412A77
RGBrgb(65, 42, 119)
HSLhsl(258, 48%, 32%)
HSVhsv(258, 65%, 47%)
CMYKcmyk(45.4%, 64.7%, 0%, 53.3%)
CIE-LABlab(24.04, 30.17, -40.55)
CIE-LCHlch(24.04, 50.54, 306.65°)
OKLaboklab(35.8% 0.0484 -0.1158)
OKLCHoklch(35.8% 0.125 292.7)
XYZxyz(6.3368, 4.1115, 17.9089)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412A77 #60772A
analogous
#2A3A77 #412A77 #682A77
triadic
#412A77 #77412A #2A7741
tetradic
#412A77 #772A3A #60772A #2A7768
square
#412A77 #772A3A #60772A #2A7768
split-complementary
#412A77 #77682A #3A772A
monochromatic
#100A1D #281A4A #412A77 #5A3AA4 #7858C4

Accessibility & contrast

On white

11.52
#412A77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#412A77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412A77
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412A77#FFFFFF#000000##FFFFFF
##412A771.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A79
Deuteranopia (green-blind)
#003875
Tritanopia (blue-blind)
#323C4C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #412a77;
/* rgb */ color: rgb(65, 42, 119);
/* oklch */ color: oklch(35.8% 0.125 292.7);
Tailwind
colors: {
  custom: {
    50: '#7a659f',
    500: '#412a77',
    950: '#000000',
  },
}
SCSS
$custom: #412a77;
$custom-light: #7a659f;
$custom-dark: #000000;
JSON
{
  "hex": "#412a77",
  "rgb": {
    "r": 65,
    "g": 42,
    "b": 119
  },
  "hsl": {
    "h": 257.922,
    "s": 47.826,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35802,
    "c": 0.12547,
    "h": 292.7
  },
  "luminance": 0.04112
}

Semantic roles & 50–950 ramp

primary
#412A77
secondary
#8FA954
accent
#D750AF
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A050E
muted
#7C7A7E

Preview Lab

Preview with #412A77

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

Preview Lab → · Contrast checker → · Palette generator →

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