#412EA2#412EA2

#412EA2 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.2% C 0.176 H 282.5°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#412EA2
RGBrgb(65, 46, 162)
HSLhsl(250, 56%, 41%)
HSVhsv(250, 72%, 64%)
CMYKcmyk(59.9%, 71.6%, 0%, 36.5%)
CIE-LABlab(28.61, 41.20, -59.79)
CIE-LCHlch(28.61, 72.61, 304.57°)
OKLaboklab(40.24% 0.0382 -0.1722)
OKLCHoklch(40.24% 0.176 282.5)
XYZxyz(9.6765, 5.6858, 34.7630)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412EA2 #8FA22E
analogous
#2E55A2 #412EA2 #7B2EA2
triadic
#412EA2 #A2412E #2EA241
tetradic
#412EA2 #A22E55 #8FA22E #2EA27B
square
#412EA2 #A22E55 #8FA22E #2EA27B
split-complementary
#412EA2 #A27B2E #55A22E
monochromatic
#1B1343 #2E2072 #412EA2 #5943CA #8473D7

Accessibility & contrast

On white

9.83
#412EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412EA2
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412EA2#FFFFFF#000000##FFFFFF
##412EA21.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A5
Deuteranopia (green-blind)
#003FA0
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #412ea2;
/* rgb */ color: rgb(65, 46, 162);
/* oklch */ color: oklch(40.2% 0.176 282.5);
Tailwind
colors: {
  custom: {
    50: '#8169bf',
    500: '#412ea2',
    950: '#000000',
  },
}
SCSS
$custom: #412ea2;
$custom-light: #8169bf;
$custom-dark: #000000;
JSON
{
  "hex": "#412ea2",
  "rgb": {
    "r": 65,
    "g": 46,
    "b": 162
  },
  "hsl": {
    "h": 249.828,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.4024,
    "c": 0.17642,
    "h": 282.5
  },
  "luminance": 0.05686
}

Semantic roles & 50–950 ramp

primary
#412EA2
secondary
#B1BF6D
accent
#DF49C6
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #412EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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