#412ABB#412ABB

#412ABB is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 42.2% C 0.211 H 279.6°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#412ABB
RGBrgb(65, 42, 187)
HSLhsl(250, 63%, 45%)
HSVhsv(250, 78%, 73%)
CMYKcmyk(65.2%, 77.5%, 0%, 26.7%)
CIE-LABlab(30.32, 51.00, -71.93)
CIE-LCHlch(30.32, 88.18, 305.34°)
OKLaboklab(42.19% 0.0351 -0.2077)
OKLCHoklch(42.19% 0.211 279.6)
XYZxyz(11.9747, 6.3666, 47.6019)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412ABB #A4BB2A
analogous
#2A5CBB #412ABB #892ABB
triadic
#412ABB #BB412A #2ABB41
tetradic
#412ABB #BB2A5C #A4BB2A #2ABB89
square
#412ABB #BB2A5C #A4BB2A #2ABB89
split-complementary
#412ABB #BB892A #5CBB2A
monochromatic
#1E1457 #301F89 #412ABB #624CD7 #8D7DE2

Accessibility & contrast

On white

9.24
#412ABB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412ABB
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412ABB#FFFFFF#000000##FFFFFF
##412ABB1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBF
Deuteranopia (green-blind)
#0042B8
Tritanopia (blue-blind)
#005572
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #412abb;
/* rgb */ color: rgb(65, 42, 187);
/* oklch */ color: oklch(42.2% 0.211 279.6);
Tailwind
colors: {
  custom: {
    50: '#8667d1',
    500: '#412abb',
    950: '#000000',
  },
}
SCSS
$custom: #412abb;
$custom-light: #8667d1;
$custom-dark: #000000;
JSON
{
  "hex": "#412abb",
  "rgb": {
    "r": 65,
    "g": 42,
    "b": 187
  },
  "hsl": {
    "h": 249.517,
    "s": 63.319,
    "l": 44.902
  },
  "oklch": {
    "l": 0.42192,
    "c": 0.21062,
    "h": 279.6
  },
  "luminance": 0.06368
}

Semantic roles & 50–950 ramp

primary
#412ABB
secondary
#BDCA76
accent
#E641CC
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #412ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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