#412AB5#412AB5

#412AB5 is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.6% C 0.204 H 280.4°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#412AB5
RGBrgb(65, 42, 181)
HSLhsl(250, 62%, 44%)
HSVhsv(250, 77%, 71%)
CMYKcmyk(64.1%, 76.8%, 0%, 29%)
CIE-LABlab(29.70, 49.20, -69.39)
CIE-LCHlch(29.70, 85.07, 305.34°)
OKLaboklab(41.58% 0.0366 -0.2003)
OKLCHoklch(41.58% 0.204 280.4)
XYZxyz(11.3458, 6.1151, 44.2895)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412AB5 #9EB52A
analogous
#2A58B5 #412AB5 #862AB5
triadic
#412AB5 #B5412A #2AB541
tetradic
#412AB5 #B52A58 #9EB52A #2AB586
square
#412AB5 #B52A58 #9EB52A #2AB586
split-complementary
#412AB5 #B5862A #58B52A
monochromatic
#1D1352 #2F1E83 #412AB5 #5F48D4 #8A79E0

Accessibility & contrast

On white

9.45
#412AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#412AB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412AB5
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412AB5#FFFFFF#000000##FFFFFF
##412AB51.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB9
Deuteranopia (green-blind)
#0041B3
Tritanopia (blue-blind)
#00536E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #412ab5;
/* rgb */ color: rgb(65, 42, 181);
/* oklch */ color: oklch(41.6% 0.204 280.4);
Tailwind
colors: {
  custom: {
    50: '#8567cc',
    500: '#412ab5',
    950: '#000000',
  },
}
SCSS
$custom: #412ab5;
$custom-light: #8567cc;
$custom-dark: #000000;
JSON
{
  "hex": "#412ab5",
  "rgb": {
    "r": 65,
    "g": 42,
    "b": 181
  },
  "hsl": {
    "h": 249.928,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41575,
    "c": 0.2036,
    "h": 280.4
  },
  "luminance": 0.06116
}

Semantic roles & 50–950 ramp

primary
#412AB5
secondary
#BAC873
accent
#E542CA
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #412AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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