#412FA5#412FA5

#412FA5 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.7% C 0.179 H 281.9°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#412FA5
RGBrgb(65, 47, 165)
HSLhsl(249, 56%, 42%)
HSVhsv(249, 72%, 65%)
CMYKcmyk(60.6%, 71.5%, 0%, 35.3%)
CIE-LABlab(29.09, 41.58, -60.81)
CIE-LCHlch(29.09, 73.67, 304.36°)
OKLaboklab(40.67% 0.0368 -0.1752)
OKLCHoklch(40.67% 0.179 281.9)
XYZxyz(9.9859, 5.8728, 36.1974)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412FA5 #93A52F
analogous
#2F58A5 #412FA5 #7C2FA5
triadic
#412FA5 #A5412F #2FA541
tetradic
#412FA5 #A52F58 #93A52F #2FA57C
square
#412FA5 #A52F58 #93A52F #2FA57C
split-complementary
#412FA5 #A57C2F #58A52F
monochromatic
#1B1446 #2E2175 #412FA5 #5B47CB #8576D8

Accessibility & contrast

On white

9.66
#412FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412FA5
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412FA5#FFFFFF#000000##FFFFFF
##412FA51.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A9
Deuteranopia (green-blind)
#0040A3
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #412fa5;
/* rgb */ color: rgb(65, 47, 165);
/* oklch */ color: oklch(40.7% 0.179 281.9);
Tailwind
colors: {
  custom: {
    50: '#8169c1',
    500: '#412fa5',
    950: '#000000',
  },
}
SCSS
$custom: #412fa5;
$custom-light: #8169c1;
$custom-dark: #000000;
JSON
{
  "hex": "#412fa5",
  "rgb": {
    "r": 65,
    "g": 47,
    "b": 165
  },
  "hsl": {
    "h": 249.153,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4067,
    "c": 0.17906,
    "h": 281.9
  },
  "luminance": 0.05873
}

Semantic roles & 50–950 ramp

primary
#412FA5
secondary
#B4C070
accent
#DF49C8
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #412FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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