#412AA4#412AA4

#412AA4 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.9% C 0.183 H 282.9°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#412AA4
RGBrgb(65, 42, 164)
HSLhsl(251, 59%, 40%)
HSVhsv(251, 74%, 64%)
CMYKcmyk(60.4%, 74.4%, 0%, 35.7%)
CIE-LABlab(28.01, 44.03, -61.98)
CIE-LCHlch(28.01, 76.03, 305.39°)
OKLaboklab(39.87% 0.0408 -0.1786)
OKLCHoklch(39.87% 0.183 282.9)
XYZxyz(9.7067, 5.4594, 35.6570)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412AA4 #8DA42A
analogous
#2A50A4 #412AA4 #7E2AA4
triadic
#412AA4 #A4412A #2AA441
tetradic
#412AA4 #A42A50 #8DA42A #2AA47E
square
#412AA4 #A42A50 #8DA42A #2AA47E
split-complementary
#412AA4 #A47E2A #50A42A
monochromatic
#1A1143 #2E1E73 #412AA4 #593ECD #836EDA

Accessibility & contrast

On white

10.04
#412AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#412AA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412AA4
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412AA4#FFFFFF#000000##FFFFFF
##412AA41.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A8
Deuteranopia (green-blind)
#003EA2
Tritanopia (blue-blind)
#004C65
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #412aa4;
/* rgb */ color: rgb(65, 42, 164);
/* oklch */ color: oklch(39.9% 0.183 282.9);
Tailwind
colors: {
  custom: {
    50: '#8266c0',
    500: '#412aa4',
    950: '#000000',
  },
}
SCSS
$custom: #412aa4;
$custom-light: #8266c0;
$custom-dark: #000000;
JSON
{
  "hex": "#412aa4",
  "rgb": {
    "r": 65,
    "g": 42,
    "b": 164
  },
  "hsl": {
    "h": 251.311,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39872,
    "c": 0.18326,
    "h": 282.9
  },
  "luminance": 0.0546
}

Semantic roles & 50–950 ramp

primary
#412AA4
secondary
#B0C169
accent
#E245C5
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #412AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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