#412DB7#412DB7

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

Color values

HEX#412DB7
RGBrgb(65, 45, 183)
HSLhsl(249, 61%, 45%)
HSVhsv(249, 75%, 72%)
CMYKcmyk(64.5%, 75.4%, 0%, 28.2%)
CIE-LABlab(30.44, 48.27, -69.35)
CIE-LCHlch(30.44, 84.50, 304.84°)
OKLaboklab(42.16% 0.0343 -0.2002)
OKLCHoklch(42.16% 0.203 279.7)
XYZxyz(11.6629, 6.4186, 45.4149)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412DB7 #A3B72D
analogous
#2D5EB7 #412DB7 #862DB7
triadic
#412DB7 #B7412D #2DB741
tetradic
#412DB7 #B72D5E #A3B72D #2DB786
square
#412DB7 #B72D5E #A3B72D #2DB786
split-complementary
#412DB7 #B7862D #5EB72D
monochromatic
#1E1555 #302186 #412DB7 #614ED3 #8D7FDF

Accessibility & contrast

On white

9.20
#412DB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#412DB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412DB7
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412DB7#FFFFFF#000000##FFFFFF
##412DB71.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #412db7;
/* rgb */ color: rgb(65, 45, 183);
/* oklch */ color: oklch(42.2% 0.203 279.7);
Tailwind
colors: {
  custom: {
    50: '#8569ce',
    500: '#412db7',
    950: '#000000',
  },
}
SCSS
$custom: #412db7;
$custom-light: #8569ce;
$custom-dark: #000000;
JSON
{
  "hex": "#412db7",
  "rgb": {
    "r": 65,
    "g": 45,
    "b": 183
  },
  "hsl": {
    "h": 248.696,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42158,
    "c": 0.20312,
    "h": 279.7
  },
  "luminance": 0.06419
}

Semantic roles & 50–950 ramp

primary
#412DB7
secondary
#BDC878
accent
#E444CD
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #412DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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