#412DB9#412DB9

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

Color values

HEX#412DB9
RGBrgb(65, 45, 185)
HSLhsl(249, 61%, 45%)
HSVhsv(249, 76%, 73%)
CMYKcmyk(64.9%, 75.7%, 0%, 27.5%)
CIE-LABlab(30.65, 48.88, -70.21)
CIE-LCHlch(30.65, 85.55, 304.85°)
OKLaboklab(42.36% 0.0338 -0.2027)
OKLCHoklch(42.36% 0.205 279.5)
XYZxyz(11.8725, 6.5024, 46.5190)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412DB9 #A5B92D
analogous
#2D5FB9 #412DB9 #872DB9
triadic
#412DB9 #B9412D #2DB941
tetradic
#412DB9 #B92D5F #A5B92D #2DB987
square
#412DB9 #B92D5F #A5B92D #2DB987
split-complementary
#412DB9 #B9872D #5FB92D
monochromatic
#1E1557 #302188 #412DB9 #624FD4 #8E80E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##412DB9#FFFFFF#000000##FFFFFF
##412DB91.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)
#004DBD
Deuteranopia (green-blind)
#0043B6
Tritanopia (blue-blind)
#005571
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #412db9;
/* rgb */ color: rgb(65, 45, 185);
/* oklch */ color: oklch(42.4% 0.205 279.5);
Tailwind
colors: {
  custom: {
    50: '#8569cf',
    500: '#412db9',
    950: '#000000',
  },
}
SCSS
$custom: #412db9;
$custom-light: #8569cf;
$custom-dark: #000000;
JSON
{
  "hex": "#412db9",
  "rgb": {
    "r": 65,
    "g": 45,
    "b": 185
  },
  "hsl": {
    "h": 248.571,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.4236,
    "c": 0.20549,
    "h": 279.5
  },
  "luminance": 0.06503
}

Semantic roles & 50–950 ramp

primary
#412DB9
secondary
#BEC979
accent
#E444CD
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0614
muted
#7D7A82

Preview Lab

Preview with #412DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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