#412E76#412E76

#412E76 is a dark, moderate violet. Relative luminance 0.044; OKLCH L 36.4% C 0.118 H 291.6°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#412E76
RGBrgb(65, 46, 118)
HSLhsl(256, 44%, 32%)
HSVhsv(256, 61%, 46%)
CMYKcmyk(44.9%, 61%, 0%, 53.7%)
CIE-LABlab(24.91, 27.37, -38.51)
CIE-LCHlch(24.91, 47.24, 305.40°)
OKLaboklab(36.42% 0.0435 -0.1097)
OKLCHoklch(36.42% 0.118 291.6)
XYZxyz(6.4261, 4.3856, 17.6440)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412E76 #63762E
analogous
#2E3F76 #412E76 #652E76
triadic
#412E76 #76412E #2E7641
tetradic
#412E76 #762E3F #63762E #2E7665
square
#412E76 #762E3F #63762E #2E7665
split-complementary
#412E76 #76652E #3F762E
monochromatic
#100C1E #291D4A #412E76 #593FA2 #785EC0

Accessibility & contrast

On white

11.19
#412E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412E76
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412E76#FFFFFF#000000##FFFFFF
##412E761.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C78
Deuteranopia (green-blind)
#053A74
Tritanopia (blue-blind)
#323E4D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #412e76;
/* rgb */ color: rgb(65, 46, 118);
/* oklch */ color: oklch(36.4% 0.118 291.6);
Tailwind
colors: {
  custom: {
    50: '#7a679e',
    500: '#412e76',
    950: '#000000',
  },
}
SCSS
$custom: #412e76;
$custom-light: #7a679e;
$custom-dark: #000000;
JSON
{
  "hex": "#412e76",
  "rgb": {
    "r": 65,
    "g": 46,
    "b": 118
  },
  "hsl": {
    "h": 255.833,
    "s": 43.902,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36415,
    "c": 0.11803,
    "h": 291.6
  },
  "luminance": 0.04386
}

Semantic roles & 50–950 ramp

primary
#412E76
secondary
#92A759
accent
#D454B2
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #412E76

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

Preview Lab → · Contrast checker → · Palette generator →

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