#412ABA#412ABA

#412ABA is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 42.1% C 0.209 H 279.7°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#412ABA
RGBrgb(65, 42, 186)
HSLhsl(250, 63%, 45%)
HSVhsv(250, 77%, 73%)
CMYKcmyk(65.1%, 77.4%, 0%, 27.1%)
CIE-LABlab(30.22, 50.70, -71.51)
CIE-LCHlch(30.22, 87.66, 305.34°)
OKLaboklab(42.09% 0.0353 -0.2065)
OKLCHoklch(42.09% 0.209 279.7)
XYZxyz(11.8680, 6.3240, 47.0401)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412ABA #A3BA2A
analogous
#2A5BBA #412ABA #892ABA
triadic
#412ABA #BA412A #2ABA41
tetradic
#412ABA #BA2A5B #A3BA2A #2ABA89
square
#412ABA #BA2A5B #A3BA2A #2ABA89
split-complementary
#412ABA #BA892A #5BBA2A
monochromatic
#1E1356 #301F88 #412ABA #614BD6 #8D7DE2

Accessibility & contrast

On white

9.27
#412ABA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#412ABA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412ABA
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412ABA#FFFFFF#000000##FFFFFF
##412ABA1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBE
Deuteranopia (green-blind)
#0041B7
Tritanopia (blue-blind)
#005571
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #412aba;
/* rgb */ color: rgb(65, 42, 186);
/* oklch */ color: oklch(42.1% 0.209 279.7);
Tailwind
colors: {
  custom: {
    50: '#8667d0',
    500: '#412aba',
    950: '#000000',
  },
}
SCSS
$custom: #412aba;
$custom-light: #8667d0;
$custom-dark: #000000;
JSON
{
  "hex": "#412aba",
  "rgb": {
    "r": 65,
    "g": 42,
    "b": 186
  },
  "hsl": {
    "h": 249.583,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42089,
    "c": 0.20946,
    "h": 279.7
  },
  "luminance": 0.06325
}

Semantic roles & 50–950 ramp

primary
#412ABA
secondary
#BDCA76
accent
#E642CC
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0D0614
muted
#7D7A83

Preview Lab

Preview with #412ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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