#412AAE#412AAE

#412AAE is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.9% C 0.195 H 281.3°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#412AAE
RGBrgb(65, 42, 174)
HSLhsl(250, 61%, 42%)
HSVhsv(250, 76%, 68%)
CMYKcmyk(62.6%, 75.9%, 0%, 31.8%)
CIE-LABlab(28.99, 47.08, -66.38)
CIE-LCHlch(28.99, 81.38, 305.35°)
OKLaboklab(40.87% 0.0384 -0.1915)
OKLCHoklch(40.87% 0.195 281.3)
XYZxyz(10.6455, 5.8350, 40.6015)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412AAE #97AE2A
analogous
#2A55AE #412AAE #832AAE
triadic
#412AAE #AE412A #2AAE41
tetradic
#412AAE #AE2A55 #97AE2A #2AAE83
square
#412AAE #AE2A55 #97AE2A #2AAE83
split-complementary
#412AAE #AE832A #55AE2A
monochromatic
#1C124B #2F1E7D #412AAE #5C43D2 #8775DE

Accessibility & contrast

On white

9.69
#412AAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#412AAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412AAE
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412AAE#FFFFFF#000000##FFFFFF
##412AAE1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B2
Deuteranopia (green-blind)
#003FAC
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #412aae;
/* rgb */ color: rgb(65, 42, 174);
/* oklch */ color: oklch(40.9% 0.195 281.3);
Tailwind
colors: {
  custom: {
    50: '#8367c7',
    500: '#412aae',
    950: '#000000',
  },
}
SCSS
$custom: #412aae;
$custom-light: #8367c7;
$custom-dark: #000000;
JSON
{
  "hex": "#412aae",
  "rgb": {
    "r": 65,
    "g": 42,
    "b": 174
  },
  "hsl": {
    "h": 250.455,
    "s": 61.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40865,
    "c": 0.19531,
    "h": 281.3
  },
  "luminance": 0.05836
}

Semantic roles & 50–950 ramp

primary
#412AAE
secondary
#B6C56F
accent
#E444C8
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #412AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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