#412CD1#412CD1

#412CD1 is a dark, highly saturated blue. Relative luminance 0.075; OKLCH L 44.7% C 0.234 H 276.9°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#412CD1
RGBrgb(65, 44, 209)
HSLhsl(248, 65%, 50%)
HSVhsv(248, 79%, 82%)
CMYKcmyk(68.9%, 78.9%, 0%, 18%)
CIE-LABlab(32.98, 56.58, -80.42)
CIE-LCHlch(32.98, 98.33, 305.13°)
OKLaboklab(44.73% 0.0282 -0.2324)
OKLCHoklch(44.73% 0.234 276.9)
XYZxyz(14.5855, 7.5273, 60.9935)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412CD1 #BCD12C
analogous
#2C6AD1 #412CD1 #932CD1
triadic
#412CD1 #D1412C #2CD141
tetradic
#412CD1 #D12C6A #BCD12C #2CD193
square
#412CD1 #D12C6A #BCD12C #2CD193
split-complementary
#412CD1 #D1932C #6AD12C
monochromatic
#22176C #31219E #412CD1 #6E5DDD #9B90E8

Accessibility & contrast

On white

8.38
#412CD1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#412CD1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412CD1
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412CD1#FFFFFF#000000##FFFFFF
##412CD11.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054D6
Deuteranopia (green-blind)
#0046CE
Tritanopia (blue-blind)
#005F7F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #412cd1;
/* rgb */ color: rgb(65, 44, 209);
/* oklch */ color: oklch(44.7% 0.234 276.9);
Tailwind
colors: {
  custom: {
    50: '#8a6ae1',
    500: '#412cd1',
    950: '#000000',
  },
}
SCSS
$custom: #412cd1;
$custom-light: #8a6ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#412cd1",
  "rgb": {
    "r": 65,
    "g": 44,
    "b": 209
  },
  "hsl": {
    "h": 247.636,
    "s": 65.217,
    "l": 49.608
  },
  "oklch": {
    "l": 0.44733,
    "c": 0.23413,
    "h": 276.9
  },
  "luminance": 0.07529
}

Semantic roles & 50–950 ramp

primary
#412CD1
secondary
#C9D287
accent
#E840D3
background
#F9F6FE
surface
#F2EBFC
border
#CCC6D5
text
#0E0715
muted
#7E7A84

Preview Lab

Preview with #412CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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