#412EAC#412EAC

#412EAC is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.2% C 0.189 H 281.0°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#412EAC
RGBrgb(65, 46, 172)
HSLhsl(249, 58%, 43%)
HSVhsv(249, 73%, 67%)
CMYKcmyk(62.2%, 73.3%, 0%, 32.5%)
CIE-LABlab(29.55, 44.33, -64.26)
CIE-LCHlch(29.55, 78.07, 304.60°)
OKLaboklab(41.2% 0.0362 -0.1853)
OKLCHoklch(41.2% 0.189 281)
XYZxyz(10.6010, 6.0556, 39.6319)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412EAC #99AC2E
analogous
#2E5AAC #412EAC #802EAC
triadic
#412EAC #AC412E #2EAC41
tetradic
#412EAC #AC2E5A #99AC2E #2EAC80
square
#412EAC #AC2E5A #99AC2E #2EAC80
split-complementary
#412EAC #AC802E #5AAC2E
monochromatic
#1D144B #2F217C #412EAC #5D49CE #8879DB

Accessibility & contrast

On white

9.50
#412EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#412EAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412EAC
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412EAC#FFFFFF#000000##FFFFFF
##412EAC1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB0
Deuteranopia (green-blind)
#0041AA
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #412eac;
/* rgb */ color: rgb(65, 46, 172);
/* oklch */ color: oklch(41.2% 0.189 281.0);
Tailwind
colors: {
  custom: {
    50: '#8369c6',
    500: '#412eac',
    950: '#000000',
  },
}
SCSS
$custom: #412eac;
$custom-light: #8369c6;
$custom-dark: #000000;
JSON
{
  "hex": "#412eac",
  "rgb": {
    "r": 65,
    "g": 46,
    "b": 172
  },
  "hsl": {
    "h": 249.048,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.41201,
    "c": 0.18882,
    "h": 281
  },
  "luminance": 0.06056
}

Semantic roles & 50–950 ramp

primary
#412EAC
secondary
#B7C372
accent
#E147CA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #412EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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