#412FA4#412FA4

#412FA4 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.6% C 0.178 H 282.0°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#412FA4
RGBrgb(65, 47, 164)
HSLhsl(249, 55%, 41%)
HSVhsv(249, 71%, 64%)
CMYKcmyk(60.4%, 71.3%, 0%, 35.7%)
CIE-LABlab(29.00, 41.27, -60.36)
CIE-LCHlch(29.00, 73.12, 304.36°)
OKLaboklab(40.58% 0.037 -0.1739)
OKLCHoklch(40.58% 0.178 282)
XYZxyz(9.8952, 5.8365, 35.7199)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412FA4 #92A42F
analogous
#2F58A4 #412FA4 #7C2FA4
triadic
#412FA4 #A4412F #2FA441
tetradic
#412FA4 #A42F58 #92A42F #2FA47C
square
#412FA4 #A42F58 #92A42F #2FA47C
split-complementary
#412FA4 #A47C2F #58A42F
monochromatic
#1B1445 #2E2174 #412FA4 #5A46CA #8576D8

Accessibility & contrast

On white

9.69
#412FA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412FA4
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412FA4#FFFFFF#000000##FFFFFF
##412FA41.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A7
Deuteranopia (green-blind)
#0040A2
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #412fa4;
/* rgb */ color: rgb(65, 47, 164);
/* oklch */ color: oklch(40.6% 0.178 282.0);
Tailwind
colors: {
  custom: {
    50: '#8169c0',
    500: '#412fa4',
    950: '#000000',
  },
}
SCSS
$custom: #412fa4;
$custom-light: #8169c0;
$custom-dark: #000000;
JSON
{
  "hex": "#412fa4",
  "rgb": {
    "r": 65,
    "g": 47,
    "b": 164
  },
  "hsl": {
    "h": 249.231,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40575,
    "c": 0.1778,
    "h": 282
  },
  "luminance": 0.05837
}

Semantic roles & 50–950 ramp

primary
#412FA4
secondary
#B3C06F
accent
#DF49C8
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #412FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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