#412AAA#412AAA

#412AAA is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.5% C 0.191 H 281.9°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#412AAA
RGBrgb(65, 42, 170)
HSLhsl(251, 60%, 42%)
HSVhsv(251, 75%, 67%)
CMYKcmyk(61.8%, 75.3%, 0%, 33.3%)
CIE-LABlab(28.59, 45.87, -64.64)
CIE-LCHlch(28.59, 79.26, 305.36°)
OKLaboklab(40.47% 0.0394 -0.1864)
OKLCHoklch(40.47% 0.191 281.9)
XYZxyz(10.2614, 5.6813, 38.5783)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412AAA #93AA2A
analogous
#2A53AA #412AAA #812AAA
triadic
#412AAA #AA412A #2AAA41
tetradic
#412AAA #AA2A53 #93AA2A #2AAA81
square
#412AAA #AA2A53 #93AA2A #2AAA81
split-complementary
#412AAA #AA812A #53AA2A
monochromatic
#1B1248 #2E1E79 #412AAA #5B41D0 #8572DC

Accessibility & contrast

On white

9.83
#412AAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#412AAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412AAA
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412AAA#FFFFFF#000000##FFFFFF
##412AAA1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AE
Deuteranopia (green-blind)
#003FA8
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #412aaa;
/* rgb */ color: rgb(65, 42, 170);
/* oklch */ color: oklch(40.5% 0.191 281.9);
Tailwind
colors: {
  custom: {
    50: '#8367c4',
    500: '#412aaa',
    950: '#000000',
  },
}
SCSS
$custom: #412aaa;
$custom-light: #8367c4;
$custom-dark: #000000;
JSON
{
  "hex": "#412aaa",
  "rgb": {
    "r": 65,
    "g": 42,
    "b": 170
  },
  "hsl": {
    "h": 250.781,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40465,
    "c": 0.19052,
    "h": 281.9
  },
  "luminance": 0.05682
}

Semantic roles & 50–950 ramp

primary
#412AAA
secondary
#B4C36C
accent
#E444C7
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #412AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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