#412AB7#412AB7

#412AB7 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.8% C 0.206 H 280.1°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#412AB7
RGBrgb(65, 42, 183)
HSLhsl(250, 63%, 44%)
HSVhsv(250, 77%, 72%)
CMYKcmyk(64.5%, 77%, 0%, 28.2%)
CIE-LABlab(29.91, 49.81, -70.24)
CIE-LCHlch(29.91, 86.11, 305.34°)
OKLaboklab(41.78% 0.0361 -0.2028)
OKLCHoklch(41.78% 0.206 280.1)
XYZxyz(11.5525, 6.1977, 45.3781)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412AB7 #A0B72A
analogous
#2A5AB7 #412AB7 #882AB7
triadic
#412AB7 #B7412A #2AB741
tetradic
#412AB7 #B72A5A #A0B72A #2AB788
square
#412AB7 #B72A5A #A0B72A #2AB788
split-complementary
#412AB7 #B7882A #5AB72A
monochromatic
#1E1353 #2F1F85 #412AB7 #6049D5 #8B7BE1

Accessibility & contrast

On white

9.38
#412AB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#412AB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412AB7
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412AB7#FFFFFF#000000##FFFFFF
##412AB71.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBB
Deuteranopia (green-blind)
#0041B4
Tritanopia (blue-blind)
#00536F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #412ab7;
/* rgb */ color: rgb(65, 42, 183);
/* oklch */ color: oklch(41.8% 0.206 280.1);
Tailwind
colors: {
  custom: {
    50: '#8567ce',
    500: '#412ab7',
    950: '#000000',
  },
}
SCSS
$custom: #412ab7;
$custom-light: #8567ce;
$custom-dark: #000000;
JSON
{
  "hex": "#412ab7",
  "rgb": {
    "r": 65,
    "g": 42,
    "b": 183
  },
  "hsl": {
    "h": 249.787,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.4178,
    "c": 0.20595,
    "h": 280.1
  },
  "luminance": 0.06199
}

Semantic roles & 50–950 ramp

primary
#412AB7
secondary
#BBC974
accent
#E642CB
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #412AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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