#412AA9#412AA9

#412AA9 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.4% C 0.189 H 282.1°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#412AA9
RGBrgb(65, 42, 169)
HSLhsl(251, 60%, 41%)
HSVhsv(251, 75%, 66%)
CMYKcmyk(61.5%, 75.1%, 0%, 33.7%)
CIE-LABlab(28.49, 45.56, -64.20)
CIE-LCHlch(28.49, 78.72, 305.36°)
OKLaboklab(40.37% 0.0397 -0.1851)
OKLCHoklch(40.37% 0.189 282.1)
XYZxyz(10.1671, 5.6436, 38.0820)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412AA9 #92A92A
analogous
#2A53A9 #412AA9 #812AA9
triadic
#412AA9 #A9412A #2AA941
tetradic
#412AA9 #A92A53 #92A92A #2AA981
square
#412AA9 #A92A53 #92A92A #2AA981
split-complementary
#412AA9 #A9812A #53A92A
monochromatic
#1B1247 #2E1E78 #412AA9 #5A41D0 #8572DC

Accessibility & contrast

On white

9.86
#412AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#412AA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412AA9
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412AA9#FFFFFF#000000##FFFFFF
##412AA91.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AD
Deuteranopia (green-blind)
#003FA7
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #412aa9;
/* rgb */ color: rgb(65, 42, 169);
/* oklch */ color: oklch(40.4% 0.189 282.1);
Tailwind
colors: {
  custom: {
    50: '#8367c4',
    500: '#412aa9',
    950: '#000000',
  },
}
SCSS
$custom: #412aa9;
$custom-light: #8367c4;
$custom-dark: #000000;
JSON
{
  "hex": "#412aa9",
  "rgb": {
    "r": 65,
    "g": 42,
    "b": 169
  },
  "hsl": {
    "h": 250.866,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40365,
    "c": 0.18932,
    "h": 282.1
  },
  "luminance": 0.05644
}

Semantic roles & 50–950 ramp

primary
#412AA9
secondary
#B3C36C
accent
#E344C7
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #412AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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