#412EB7#412EB7

#412EB7 is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.3% C 0.202 H 279.6°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#412EB7
RGBrgb(65, 46, 183)
HSLhsl(248, 60%, 45%)
HSVhsv(248, 75%, 72%)
CMYKcmyk(64.5%, 74.9%, 0%, 28.2%)
CIE-LABlab(30.63, 47.74, -69.05)
CIE-LCHlch(30.63, 83.95, 304.66°)
OKLaboklab(42.29% 0.0337 -0.1993)
OKLCHoklch(42.29% 0.202 279.6)
XYZxyz(11.7015, 6.4958, 45.4277)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412EB7 #A4B72E
analogous
#2E60B7 #412EB7 #852EB7
triadic
#412EB7 #B7412E #2EB741
tetradic
#412EB7 #B72E60 #A4B72E #2EB785
square
#412EB7 #B72E60 #A4B72E #2EB785
split-complementary
#412EB7 #B7852E #60B72E
monochromatic
#1E1555 #302286 #412EB7 #624FD3 #8D80DF

Accessibility & contrast

On white

9.13
#412EB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#412EB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412EB7
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412EB7#FFFFFF#000000##FFFFFF
##412EB71.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBB
Deuteranopia (green-blind)
#0043B5
Tritanopia (blue-blind)
#005570
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #412eb7;
/* rgb */ color: rgb(65, 46, 183);
/* oklch */ color: oklch(42.3% 0.202 279.6);
Tailwind
colors: {
  custom: {
    50: '#856ace',
    500: '#412eb7',
    950: '#000000',
  },
}
SCSS
$custom: #412eb7;
$custom-light: #856ace;
$custom-dark: #000000;
JSON
{
  "hex": "#412eb7",
  "rgb": {
    "r": 65,
    "g": 46,
    "b": 183
  },
  "hsl": {
    "h": 248.321,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.42289,
    "c": 0.20214,
    "h": 279.6
  },
  "luminance": 0.06497
}

Semantic roles & 50–950 ramp

primary
#412EB7
secondary
#BDC879
accent
#E345CD
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #412EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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