#412FA6#412FA6

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

Color values

HEX#412FA6
RGBrgb(65, 47, 166)
HSLhsl(249, 56%, 42%)
HSVhsv(249, 72%, 65%)
CMYKcmyk(60.8%, 71.7%, 0%, 34.9%)
CIE-LABlab(29.18, 41.90, -61.26)
CIE-LCHlch(29.18, 74.22, 304.37°)
OKLaboklab(40.77% 0.0366 -0.1766)
OKLCHoklch(40.77% 0.18 281.7)
XYZxyz(10.0773, 5.9093, 36.6786)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412FA6 #94A62F
analogous
#2F58A6 #412FA6 #7D2FA6
triadic
#412FA6 #A6412F #2FA641
tetradic
#412FA6 #A62F58 #94A62F #2FA67D
square
#412FA6 #A62F58 #94A62F #2FA67D
split-complementary
#412FA6 #A67D2F #58A62F
monochromatic
#1C1447 #2E2176 #412FA6 #5B47CB #8677D8

Accessibility & contrast

On white

9.62
#412FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#412FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412FA6
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412FA6#FFFFFF#000000##FFFFFF
##412FA61.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AA
Deuteranopia (green-blind)
#0040A4
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #412fa6;
/* rgb */ color: rgb(65, 47, 166);
/* oklch */ color: oklch(40.8% 0.180 281.7);
Tailwind
colors: {
  custom: {
    50: '#8269c1',
    500: '#412fa6',
    950: '#000000',
  },
}
SCSS
$custom: #412fa6;
$custom-light: #8269c1;
$custom-dark: #000000;
JSON
{
  "hex": "#412fa6",
  "rgb": {
    "r": 65,
    "g": 47,
    "b": 166
  },
  "hsl": {
    "h": 249.076,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40765,
    "c": 0.18031,
    "h": 281.7
  },
  "luminance": 0.0591
}

Semantic roles & 50–950 ramp

primary
#412FA6
secondary
#B4C170
accent
#DF49C8
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #412FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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