#412DB1#412DB1

#412DB1 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.6% C 0.196 H 280.5°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#412DB1
RGBrgb(65, 45, 177)
HSLhsl(249, 59%, 44%)
HSVhsv(249, 75%, 69%)
CMYKcmyk(63.3%, 74.6%, 0%, 30.6%)
CIE-LABlab(29.85, 46.42, -66.77)
CIE-LCHlch(29.85, 81.32, 304.81°)
OKLaboklab(41.56% 0.0357 -0.1926)
OKLCHoklch(41.56% 0.196 280.5)
XYZxyz(11.0517, 6.1741, 42.1958)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412DB1 #9DB12D
analogous
#2D5BB1 #412DB1 #832DB1
triadic
#412DB1 #B1412D #2DB141
tetradic
#412DB1 #B12D5B #9DB12D #2DB183
square
#412DB1 #B12D5B #9DB12D #2DB183
split-complementary
#412DB1 #B1832D #5BB12D
monochromatic
#1D144F #2F2180 #412DB1 #5F4AD1 #8A7BDD

Accessibility & contrast

On white

9.40
#412DB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412DB1
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412DB1#FFFFFF#000000##FFFFFF
##412DB11.009.402.249.40
#FFFFFF9.401.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB5
Deuteranopia (green-blind)
#0041AF
Tritanopia (blue-blind)
#00526D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #412db1;
/* rgb */ color: rgb(65, 45, 177);
/* oklch */ color: oklch(41.6% 0.196 280.5);
Tailwind
colors: {
  custom: {
    50: '#8469ca',
    500: '#412db1',
    950: '#000000',
  },
}
SCSS
$custom: #412db1;
$custom-light: #8469ca;
$custom-dark: #000000;
JSON
{
  "hex": "#412db1",
  "rgb": {
    "r": 65,
    "g": 45,
    "b": 177
  },
  "hsl": {
    "h": 249.091,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.41557,
    "c": 0.19592,
    "h": 280.5
  },
  "luminance": 0.06175
}

Semantic roles & 50–950 ramp

primary
#412DB1
secondary
#B9C674
accent
#E345CB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #412DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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