#412AB9#412AB9

#412AB9 is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 42.0% C 0.208 H 279.8°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#412AB9
RGBrgb(65, 42, 185)
HSLhsl(250, 63%, 45%)
HSVhsv(250, 77%, 73%)
CMYKcmyk(64.9%, 77.3%, 0%, 27.5%)
CIE-LABlab(30.11, 50.41, -71.09)
CIE-LCHlch(30.11, 87.15, 305.34°)
OKLaboklab(41.99% 0.0356 -0.2052)
OKLCHoklch(41.99% 0.208 279.8)
XYZxyz(11.7621, 6.2816, 46.4822)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412AB9 #A2B92A
analogous
#2A5BB9 #412AB9 #882AB9
triadic
#412AB9 #B9412A #2AB941
tetradic
#412AB9 #B92A5B #A2B92A #2AB988
square
#412AB9 #B92A5B #A2B92A #2AB988
split-complementary
#412AB9 #B9882A #5BB92A
monochromatic
#1E1355 #2F1F87 #412AB9 #614AD6 #8C7CE1

Accessibility & contrast

On white

9.31
#412AB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#412AB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412AB9
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412AB9#FFFFFF#000000##FFFFFF
##412AB91.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBD
Deuteranopia (green-blind)
#0041B6
Tritanopia (blue-blind)
#005471
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #412ab9;
/* rgb */ color: rgb(65, 42, 185);
/* oklch */ color: oklch(42.0% 0.208 279.8);
Tailwind
colors: {
  custom: {
    50: '#8667cf',
    500: '#412ab9',
    950: '#000000',
  },
}
SCSS
$custom: #412ab9;
$custom-light: #8667cf;
$custom-dark: #000000;
JSON
{
  "hex": "#412ab9",
  "rgb": {
    "r": 65,
    "g": 42,
    "b": 185
  },
  "hsl": {
    "h": 249.65,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41985,
    "c": 0.20829,
    "h": 279.8
  },
  "luminance": 0.06283
}

Semantic roles & 50–950 ramp

primary
#412AB9
secondary
#BCCA75
accent
#E642CC
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0614
muted
#7D7A82

Preview Lab

Preview with #412AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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