#412EA7#412EA7

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

Color values

HEX#412EA7
RGBrgb(65, 46, 167)
HSLhsl(249, 57%, 42%)
HSVhsv(249, 72%, 65%)
CMYKcmyk(61.1%, 72.5%, 0%, 34.5%)
CIE-LABlab(29.07, 42.77, -62.04)
CIE-LCHlch(29.07, 75.35, 304.58°)
OKLaboklab(40.72% 0.0372 -0.1788)
OKLCHoklch(40.72% 0.183 281.8)
XYZxyz(10.1298, 5.8671, 37.1504)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412EA7 #94A72E
analogous
#2E58A7 #412EA7 #7E2EA7
triadic
#412EA7 #A7412E #2EA741
tetradic
#412EA7 #A72E58 #94A72E #2EA77E
square
#412EA7 #A72E58 #94A72E #2EA77E
split-complementary
#412EA7 #A77E2E #58A72E
monochromatic
#1C1447 #2E2177 #412EA7 #5B46CC #8676D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##412EA7#FFFFFF#000000##FFFFFF
##412EA71.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)
#0049AB
Deuteranopia (green-blind)
#0040A5
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #412ea7;
/* rgb */ color: rgb(65, 46, 167);
/* oklch */ color: oklch(40.7% 0.183 281.8);
Tailwind
colors: {
  custom: {
    50: '#8269c2',
    500: '#412ea7',
    950: '#000000',
  },
}
SCSS
$custom: #412ea7;
$custom-light: #8269c2;
$custom-dark: #000000;
JSON
{
  "hex": "#412ea7",
  "rgb": {
    "r": 65,
    "g": 46,
    "b": 167
  },
  "hsl": {
    "h": 249.421,
    "s": 56.808,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40717,
    "c": 0.18266,
    "h": 281.8
  },
  "luminance": 0.05868
}

Semantic roles & 50–950 ramp

primary
#412EA7
secondary
#B4C170
accent
#E048C8
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #412EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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