#412FA3#412FA3

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

Color values

HEX#412FA3
RGBrgb(65, 47, 163)
HSLhsl(249, 55%, 41%)
HSVhsv(249, 71%, 64%)
CMYKcmyk(60.1%, 71.2%, 0%, 36.1%)
CIE-LABlab(28.90, 40.95, -59.90)
CIE-LCHlch(28.90, 72.56, 304.36°)
OKLaboklab(40.48% 0.0372 -0.1726)
OKLCHoklch(40.48% 0.177 282.2)
XYZxyz(9.8053, 5.8005, 35.2462)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412FA3 #91A32F
analogous
#2F57A3 #412FA3 #7B2FA3
triadic
#412FA3 #A3412F #2FA341
tetradic
#412FA3 #A32F57 #91A32F #2FA37B
square
#412FA3 #A32F57 #91A32F #2FA37B
split-complementary
#412FA3 #A37B2F #57A32F
monochromatic
#1B1444 #2E2173 #412FA3 #5A46CA #8475D7

Accessibility & contrast

On white

9.72
#412FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#412FA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412FA3
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412FA3#FFFFFF#000000##FFFFFF
##412FA31.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A6
Deuteranopia (green-blind)
#0040A1
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #412fa3;
/* rgb */ color: rgb(65, 47, 163);
/* oklch */ color: oklch(40.5% 0.177 282.2);
Tailwind
colors: {
  custom: {
    50: '#8169bf',
    500: '#412fa3',
    950: '#000000',
  },
}
SCSS
$custom: #412fa3;
$custom-light: #8169bf;
$custom-dark: #000000;
JSON
{
  "hex": "#412fa3",
  "rgb": {
    "r": 65,
    "g": 47,
    "b": 163
  },
  "hsl": {
    "h": 249.31,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40481,
    "c": 0.17655,
    "h": 282.2
  },
  "luminance": 0.05801
}

Semantic roles & 50–950 ramp

primary
#412FA3
secondary
#B3BF6F
accent
#DF49C7
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #412FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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