#412FAA#412FAA

#412FAA is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.1% C 0.185 H 281.2°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#412FAA
RGBrgb(65, 47, 170)
HSLhsl(249, 57%, 43%)
HSVhsv(249, 72%, 67%)
CMYKcmyk(61.8%, 72.4%, 0%, 33.3%)
CIE-LABlab(29.56, 43.15, -63.05)
CIE-LCHlch(29.56, 76.40, 304.39°)
OKLaboklab(41.15% 0.0358 -0.1818)
OKLCHoklch(41.15% 0.185 281.2)
XYZxyz(10.4499, 6.0584, 38.6411)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412FAA #98AA2F
analogous
#2F5BAA #412FAA #7E2FAA
triadic
#412FAA #AA412F #2FAA41
tetradic
#412FAA #AA2F5B #98AA2F #2FAA7E
square
#412FAA #AA2F5B #98AA2F #2FAA7E
split-complementary
#412FAA #AA7E2F #5BAA2F
monochromatic
#1C144A #2F227A #412FAA #5D49CD #8879DA

Accessibility & contrast

On white

9.49
#412FAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#412FAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412FAA
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412FAA#FFFFFF#000000##FFFFFF
##412FAA1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAE
Deuteranopia (green-blind)
#0041A8
Tritanopia (blue-blind)
#005169
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #412faa;
/* rgb */ color: rgb(65, 47, 170);
/* oklch */ color: oklch(41.1% 0.185 281.2);
Tailwind
colors: {
  custom: {
    50: '#826ac4',
    500: '#412faa',
    950: '#000000',
  },
}
SCSS
$custom: #412faa;
$custom-light: #826ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#412faa",
  "rgb": {
    "r": 65,
    "g": 47,
    "b": 170
  },
  "hsl": {
    "h": 248.78,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.41148,
    "c": 0.18529,
    "h": 281.2
  },
  "luminance": 0.06059
}

Semantic roles & 50–950 ramp

primary
#412FAA
secondary
#B7C272
accent
#E048CA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #412FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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