#412DA6#412DA6

#412DA6 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.5% C 0.182 H 282.1°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#412DA6
RGBrgb(65, 45, 166)
HSLhsl(250, 57%, 41%)
HSVhsv(250, 73%, 65%)
CMYKcmyk(60.8%, 72.9%, 0%, 34.9%)
CIE-LABlab(28.78, 43.01, -61.92)
CIE-LCHlch(28.78, 75.39, 304.79°)
OKLaboklab(40.48% 0.0382 -0.1785)
OKLCHoklch(40.48% 0.183 282.1)
XYZxyz(9.9991, 5.7531, 36.6525)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412DA6 #92A62D
analogous
#2D56A6 #412DA6 #7E2DA6
triadic
#412DA6 #A6412D #2DA641
tetradic
#412DA6 #A62D56 #92A62D #2DA67E
square
#412DA6 #A62D56 #92A62D #2DA67E
split-complementary
#412DA6 #A67E2D #56A62D
monochromatic
#1B1346 #2E2076 #412DA6 #5A44CC #8574D9

Accessibility & contrast

On white

9.76
#412DA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#412DA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412DA6
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412DA6#FFFFFF#000000##FFFFFF
##412DA61.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AA
Deuteranopia (green-blind)
#0040A4
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #412da6;
/* rgb */ color: rgb(65, 45, 166);
/* oklch */ color: oklch(40.5% 0.182 282.1);
Tailwind
colors: {
  custom: {
    50: '#8268c2',
    500: '#412da6',
    950: '#000000',
  },
}
SCSS
$custom: #412da6;
$custom-light: #8268c2;
$custom-dark: #000000;
JSON
{
  "hex": "#412da6",
  "rgb": {
    "r": 65,
    "g": 45,
    "b": 166
  },
  "hsl": {
    "h": 249.917,
    "s": 57.346,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40479,
    "c": 0.1825,
    "h": 282.1
  },
  "luminance": 0.05754
}

Semantic roles & 50–950 ramp

primary
#412DA6
secondary
#B3C16E
accent
#E147C7
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #412DA6

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

Preview Lab → · Contrast checker → · Palette generator →

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