#412AA6#412AA6

#412AA6 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.1% C 0.186 H 282.6°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#412AA6
RGBrgb(65, 42, 166)
HSLhsl(251, 60%, 41%)
HSVhsv(251, 75%, 65%)
CMYKcmyk(60.8%, 74.7%, 0%, 34.9%)
CIE-LABlab(28.20, 44.65, -62.87)
CIE-LCHlch(28.20, 77.11, 305.38°)
OKLaboklab(40.07% 0.0404 -0.1812)
OKLCHoklch(40.07% 0.186 282.6)
XYZxyz(9.8887, 5.5322, 36.6157)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412AA6 #8FA62A
analogous
#2A51A6 #412AA6 #7F2AA6
triadic
#412AA6 #A6412A #2AA641
tetradic
#412AA6 #A62A51 #8FA62A #2AA67F
square
#412AA6 #A62A51 #8FA62A #2AA67F
split-complementary
#412AA6 #A67F2A #51A62A
monochromatic
#1B1144 #2E1E75 #412AA6 #593FCE #8470DB

Accessibility & contrast

On white

9.97
#412AA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#412AA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412AA6
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412AA6#FFFFFF#000000##FFFFFF
##412AA61.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AA
Deuteranopia (green-blind)
#003EA4
Tritanopia (blue-blind)
#004D66
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #412aa6;
/* rgb */ color: rgb(65, 42, 166);
/* oklch */ color: oklch(40.1% 0.186 282.6);
Tailwind
colors: {
  custom: {
    50: '#8266c2',
    500: '#412aa6',
    950: '#000000',
  },
}
SCSS
$custom: #412aa6;
$custom-light: #8266c2;
$custom-dark: #000000;
JSON
{
  "hex": "#412aa6",
  "rgb": {
    "r": 65,
    "g": 42,
    "b": 166
  },
  "hsl": {
    "h": 251.129,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40068,
    "c": 0.18569,
    "h": 282.6
  },
  "luminance": 0.05533
}

Semantic roles & 50–950 ramp

primary
#412AA6
secondary
#B1C26A
accent
#E345C6
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #412AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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