#412DB6#412DB6

#412DB6 is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 42.1% C 0.202 H 279.9°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#412DB6
RGBrgb(65, 45, 182)
HSLhsl(249, 60%, 45%)
HSVhsv(249, 75%, 71%)
CMYKcmyk(64.3%, 75.3%, 0%, 28.6%)
CIE-LABlab(30.34, 47.96, -68.93)
CIE-LCHlch(30.34, 83.97, 304.83°)
OKLaboklab(42.06% 0.0346 -0.1989)
OKLCHoklch(42.06% 0.202 279.9)
XYZxyz(11.5592, 6.3771, 44.8687)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412DB6 #A2B62D
analogous
#2D5EB6 #412DB6 #862DB6
triadic
#412DB6 #B6412D #2DB641
tetradic
#412DB6 #B62D5E #A2B62D #2DB686
square
#412DB6 #B62D5E #A2B62D #2DB686
split-complementary
#412DB6 #B6862D #5EB62D
monochromatic
#1E1554 #2F2185 #412DB6 #614DD3 #8C7EDF

Accessibility & contrast

On white

9.23
#412DB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#412DB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412DB6
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412DB6#FFFFFF#000000##FFFFFF
##412DB61.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBA
Deuteranopia (green-blind)
#0042B4
Tritanopia (blue-blind)
#005470
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #412db6;
/* rgb */ color: rgb(65, 45, 182);
/* oklch */ color: oklch(42.1% 0.202 279.9);
Tailwind
colors: {
  custom: {
    50: '#8569cd',
    500: '#412db6',
    950: '#000000',
  },
}
SCSS
$custom: #412db6;
$custom-light: #8569cd;
$custom-dark: #000000;
JSON
{
  "hex": "#412db6",
  "rgb": {
    "r": 65,
    "g": 45,
    "b": 182
  },
  "hsl": {
    "h": 248.759,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42057,
    "c": 0.20193,
    "h": 279.9
  },
  "luminance": 0.06378
}

Semantic roles & 50–950 ramp

primary
#412DB6
secondary
#BCC877
accent
#E344CC
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #412DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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