#412EA1#412EA1

#412EA1 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.1% C 0.175 H 282.7°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#412EA1
RGBrgb(65, 46, 161)
HSLhsl(250, 56%, 41%)
HSVhsv(250, 71%, 63%)
CMYKcmyk(59.6%, 71.4%, 0%, 36.9%)
CIE-LABlab(28.51, 40.89, -59.33)
CIE-LCHlch(28.51, 72.06, 304.57°)
OKLaboklab(40.14% 0.0384 -0.1709)
OKLCHoklch(40.14% 0.175 282.7)
XYZxyz(9.5880, 5.6504, 34.2967)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412EA1 #8EA12E
analogous
#2E54A1 #412EA1 #7A2EA1
triadic
#412EA1 #A1412E #2EA141
tetradic
#412EA1 #A12E54 #8EA12E #2EA17A
square
#412EA1 #A12E54 #8EA12E #2EA17A
split-complementary
#412EA1 #A17A2E #54A12E
monochromatic
#1B1342 #2E2071 #412EA1 #5943C9 #8373D7

Accessibility & contrast

On white

9.86
#412EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#412EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412EA1
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412EA1#FFFFFF#000000##FFFFFF
##412EA11.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A4
Deuteranopia (green-blind)
#003F9F
Tritanopia (blue-blind)
#024D64
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #412ea1;
/* rgb */ color: rgb(65, 46, 161);
/* oklch */ color: oklch(40.1% 0.175 282.7);
Tailwind
colors: {
  custom: {
    50: '#8169be',
    500: '#412ea1',
    950: '#000000',
  },
}
SCSS
$custom: #412ea1;
$custom-light: #8169be;
$custom-dark: #000000;
JSON
{
  "hex": "#412ea1",
  "rgb": {
    "r": 65,
    "g": 46,
    "b": 161
  },
  "hsl": {
    "h": 249.913,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40145,
    "c": 0.17517,
    "h": 282.7
  },
  "luminance": 0.05651
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #412EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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