#412E84#412E84

#412E84 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.5% C 0.137 H 288.1°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#412E84
RGBrgb(65, 46, 132)
HSLhsl(253, 48%, 35%)
HSVhsv(253, 65%, 52%)
CMYKcmyk(50.8%, 65.2%, 0%, 48.2%)
CIE-LABlab(25.99, 31.74, -45.59)
CIE-LCHlch(25.99, 55.55, 304.85°)
OKLaboklab(37.55% 0.0427 -0.1306)
OKLCHoklch(37.55% 0.137 288.1)
XYZxyz(7.3206, 4.7434, 22.3552)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412E84 #71842E
analogous
#2E4684 #412E84 #6C2E84
triadic
#412E84 #84412E #2E8441
tetradic
#412E84 #842E46 #71842E #2E846C
square
#412E84 #842E46 #71842E #2E846C
split-complementary
#412E84 #846C2E #46842E
monochromatic
#140E29 #2B1E57 #412E84 #573EB1 #7A64C9

Accessibility & contrast

On white

10.78
#412E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#412E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412E84
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412E84#FFFFFF#000000##FFFFFF
##412E841.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F87
Deuteranopia (green-blind)
#003B82
Tritanopia (blue-blind)
#2A4354
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #412e84;
/* rgb */ color: rgb(65, 46, 132);
/* oklch */ color: oklch(37.5% 0.137 288.1);
Tailwind
colors: {
  custom: {
    50: '#7c68a8',
    500: '#412e84',
    950: '#000000',
  },
}
SCSS
$custom: #412e84;
$custom-light: #7c68a8;
$custom-dark: #000000;
JSON
{
  "hex": "#412e84",
  "rgb": {
    "r": 65,
    "g": 46,
    "b": 132
  },
  "hsl": {
    "h": 253.256,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37549,
    "c": 0.13736,
    "h": 288.1
  },
  "luminance": 0.04744
}

Semantic roles & 50–950 ramp

primary
#412E84
secondary
#9EB05E
accent
#D850BA
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #412E84

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

Preview Lab → · Contrast checker → · Palette generator →

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