#412EA3#412EA3

#412EA3 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.3% C 0.178 H 282.3°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#412EA3
RGBrgb(65, 46, 163)
HSLhsl(250, 56%, 41%)
HSVhsv(250, 72%, 64%)
CMYKcmyk(60.1%, 71.8%, 0%, 36.1%)
CIE-LABlab(28.70, 41.52, -60.24)
CIE-LCHlch(28.70, 73.16, 304.58°)
OKLaboklab(40.34% 0.038 -0.1736)
OKLCHoklch(40.34% 0.178 282.3)
XYZxyz(9.7658, 5.7215, 35.2330)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412EA3 #90A32E
analogous
#2E55A3 #412EA3 #7B2EA3
triadic
#412EA3 #A3412E #2EA341
tetradic
#412EA3 #A32E55 #90A32E #2EA37B
square
#412EA3 #A32E55 #90A32E #2EA37B
split-complementary
#412EA3 #A37B2E #55A32E
monochromatic
#1B1344 #2E2173 #412EA3 #5A44CA #8474D8

Accessibility & contrast

On white

9.79
#412EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412EA3
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412EA3#FFFFFF#000000##FFFFFF
##412EA31.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A6
Deuteranopia (green-blind)
#0040A1
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #412ea3;
/* rgb */ color: rgb(65, 46, 163);
/* oklch */ color: oklch(40.3% 0.178 282.3);
Tailwind
colors: {
  custom: {
    50: '#8169bf',
    500: '#412ea3',
    950: '#000000',
  },
}
SCSS
$custom: #412ea3;
$custom-light: #8169bf;
$custom-dark: #000000;
JSON
{
  "hex": "#412ea3",
  "rgb": {
    "r": 65,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 249.744,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40335,
    "c": 0.17768,
    "h": 282.3
  },
  "luminance": 0.05722
}

Semantic roles & 50–950 ramp

primary
#412EA3
secondary
#B2BF6D
accent
#DF49C7
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #412EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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