#412FA1#412FA1

#412FA1 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.3% C 0.174 H 282.5°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#412FA1
RGBrgb(65, 47, 161)
HSLhsl(249, 55%, 41%)
HSVhsv(249, 71%, 63%)
CMYKcmyk(59.6%, 70.8%, 0%, 36.9%)
CIE-LABlab(28.72, 40.32, -59.00)
CIE-LCHlch(28.72, 71.46, 304.35°)
OKLaboklab(40.29% 0.0376 -0.1699)
OKLCHoklch(40.29% 0.174 282.5)
XYZxyz(9.6275, 5.7294, 34.3099)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412FA1 #8FA12F
analogous
#2F56A1 #412FA1 #7A2FA1
triadic
#412FA1 #A1412F #2FA141
tetradic
#412FA1 #A12F56 #8FA12F #2FA17A
square
#412FA1 #A12F56 #8FA12F #2FA17A
split-complementary
#412FA1 #A17A2F #56A12F
monochromatic
#1B1342 #2E2172 #412FA1 #5945C9 #8474D6

Accessibility & contrast

On white

9.79
#412FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#412FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412FA1
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412FA1#FFFFFF#000000##FFFFFF
##412FA11.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A4
Deuteranopia (green-blind)
#00409F
Tritanopia (blue-blind)
#024D64
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #412fa1;
/* rgb */ color: rgb(65, 47, 161);
/* oklch */ color: oklch(40.3% 0.174 282.5);
Tailwind
colors: {
  custom: {
    50: '#8169be',
    500: '#412fa1',
    950: '#000000',
  },
}
SCSS
$custom: #412fa1;
$custom-light: #8169be;
$custom-dark: #000000;
JSON
{
  "hex": "#412fa1",
  "rgb": {
    "r": 65,
    "g": 47,
    "b": 161
  },
  "hsl": {
    "h": 249.474,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40293,
    "c": 0.17402,
    "h": 282.5
  },
  "luminance": 0.0573
}

Semantic roles & 50–950 ramp

primary
#412FA1
secondary
#B1BE6E
accent
#DE4AC7
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #412FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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