#412C76#412C76

#412C76 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.1% C 0.121 H 292.3°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#412C76
RGBrgb(65, 44, 118)
HSLhsl(257, 46%, 32%)
HSVhsv(257, 63%, 46%)
CMYKcmyk(44.9%, 62.7%, 0%, 53.7%)
CIE-LABlab(24.43, 28.63, -39.28)
CIE-LCHlch(24.43, 48.61, 306.08°)
OKLaboklab(36.06% 0.046 -0.112)
OKLCHoklch(36.06% 0.121 292.3)
XYZxyz(6.3498, 4.2330, 17.6185)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412C76 #61762C
analogous
#2C3C76 #412C76 #662C76
triadic
#412C76 #76412C #2C7641
tetradic
#412C76 #762C3C #61762C #2C7666
square
#412C76 #762C3C #61762C #2C7666
split-complementary
#412C76 #76662C #3C762C
monochromatic
#100B1D #281B49 #412C76 #5A3DA3 #785BC2

Accessibility & contrast

On white

11.37
#412C76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#412C76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412C76
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412C76#FFFFFF#000000##FFFFFF
##412C761.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B78
Deuteranopia (green-blind)
#003974
Tritanopia (blue-blind)
#323D4C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #412c76;
/* rgb */ color: rgb(65, 44, 118);
/* oklch */ color: oklch(36.1% 0.121 292.3);
Tailwind
colors: {
  custom: {
    50: '#7a669e',
    500: '#412c76',
    950: '#000000',
  },
}
SCSS
$custom: #412c76;
$custom-light: #7a669e;
$custom-dark: #000000;
JSON
{
  "hex": "#412c76",
  "rgb": {
    "r": 65,
    "g": 44,
    "b": 118
  },
  "hsl": {
    "h": 257.027,
    "s": 45.679,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36063,
    "c": 0.1211,
    "h": 292.3
  },
  "luminance": 0.04233
}

Semantic roles & 50–950 ramp

primary
#412C76
secondary
#90A756
accent
#D552B0
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #412C76

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

Preview Lab → · Contrast checker → · Palette generator →

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