#412DA9#412DA9

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

Color values

HEX#412DA9
RGBrgb(65, 45, 169)
HSLhsl(250, 58%, 42%)
HSVhsv(250, 73%, 66%)
CMYKcmyk(61.5%, 73.4%, 0%, 33.7%)
CIE-LABlab(29.07, 43.95, -63.26)
CIE-LCHlch(29.07, 77.02, 304.79°)
OKLaboklab(40.77% 0.0375 -0.1824)
OKLCHoklch(40.77% 0.186 281.6)
XYZxyz(10.2775, 5.8644, 38.1188)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412DA9 #95A92D
analogous
#2D57A9 #412DA9 #7F2DA9
triadic
#412DA9 #A9412D #2DA941
tetradic
#412DA9 #A92D57 #95A92D #2DA97F
square
#412DA9 #A92D57 #95A92D #2DA97F
split-complementary
#412DA9 #A97F2D #57A92D
monochromatic
#1C1348 #2E2079 #412DA9 #5C46CE #8676DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##412DA9#FFFFFF#000000##FFFFFF
##412DA91.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)
#0049AD
Deuteranopia (green-blind)
#0040A7
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #412da9;
/* rgb */ color: rgb(65, 45, 169);
/* oklch */ color: oklch(40.8% 0.186 281.6);
Tailwind
colors: {
  custom: {
    50: '#8268c4',
    500: '#412da9',
    950: '#000000',
  },
}
SCSS
$custom: #412da9;
$custom-light: #8268c4;
$custom-dark: #000000;
JSON
{
  "hex": "#412da9",
  "rgb": {
    "r": 65,
    "g": 45,
    "b": 169
  },
  "hsl": {
    "h": 249.677,
    "s": 57.944,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4077,
    "c": 0.1862,
    "h": 281.6
  },
  "luminance": 0.05865
}

Semantic roles & 50–950 ramp

primary
#412DA9
secondary
#B5C26F
accent
#E147C8
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #412DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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