#412EAA#412EAA

#412EAA is a dark, vivid blue. Relative luminance 0.060; OKLCH L 41.0% C 0.186 H 281.3°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#412EAA
RGBrgb(65, 46, 170)
HSLhsl(249, 57%, 42%)
HSVhsv(249, 73%, 67%)
CMYKcmyk(61.8%, 72.9%, 0%, 33.3%)
CIE-LABlab(29.36, 43.71, -63.38)
CIE-LCHlch(29.36, 76.99, 304.59°)
OKLaboklab(41.01% 0.0366 -0.1827)
OKLCHoklch(41.01% 0.186 281.3)
XYZxyz(10.4104, 5.9793, 38.6280)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412EAA #97AA2E
analogous
#2E59AA #412EAA #7F2EAA
triadic
#412EAA #AA412E #2EAA41
tetradic
#412EAA #AA2E59 #97AA2E #2EAA7F
square
#412EAA #AA2E59 #97AA2E #2EAA7F
split-complementary
#412EAA #AA7F2E #59AA2E
monochromatic
#1C144A #2F217A #412EAA #5C48CD #8778DA

Accessibility & contrast

On white

9.56
#412EAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#412EAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412EAA
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412EAA#FFFFFF#000000##FFFFFF
##412EAA1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AE
Deuteranopia (green-blind)
#0041A8
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #412eaa;
/* rgb */ color: rgb(65, 46, 170);
/* oklch */ color: oklch(41.0% 0.186 281.3);
Tailwind
colors: {
  custom: {
    50: '#8269c4',
    500: '#412eaa',
    950: '#000000',
  },
}
SCSS
$custom: #412eaa;
$custom-light: #8269c4;
$custom-dark: #000000;
JSON
{
  "hex": "#412eaa",
  "rgb": {
    "r": 65,
    "g": 46,
    "b": 170
  },
  "hsl": {
    "h": 249.194,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.41007,
    "c": 0.18636,
    "h": 281.3
  },
  "luminance": 0.0598
}

Semantic roles & 50–950 ramp

primary
#412EAA
secondary
#B6C371
accent
#E147C9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #412EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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