#412CB1#412CB1

#412CB1 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.4% C 0.197 H 280.6°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#412CB1
RGBrgb(65, 44, 177)
HSLhsl(249, 60%, 43%)
HSVhsv(249, 75%, 69%)
CMYKcmyk(63.3%, 75.1%, 0%, 30.6%)
CIE-LABlab(29.66, 46.95, -67.08)
CIE-LCHlch(29.66, 81.88, 304.99°)
OKLaboklab(41.43% 0.0364 -0.1935)
OKLCHoklch(41.43% 0.197 280.6)
XYZxyz(11.0140, 6.0987, 42.1832)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412CB1 #9CB12C
analogous
#2C59B1 #412CB1 #832CB1
triadic
#412CB1 #B1412C #2CB141
tetradic
#412CB1 #B12C59 #9CB12C #2CB183
square
#412CB1 #B12C59 #9CB12C #2CB183
split-complementary
#412CB1 #B1832C #59B12C
monochromatic
#1D144F #2F2080 #412CB1 #5E49D2 #897ADE

Accessibility & contrast

On white

9.46
#412CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#412CB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412CB1
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412CB1#FFFFFF#000000##FFFFFF
##412CB11.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #412cb1;
/* rgb */ color: rgb(65, 44, 177);
/* oklch */ color: oklch(41.4% 0.197 280.6);
Tailwind
colors: {
  custom: {
    50: '#8468ca',
    500: '#412cb1',
    950: '#000000',
  },
}
SCSS
$custom: #412cb1;
$custom-light: #8468ca;
$custom-dark: #000000;
JSON
{
  "hex": "#412cb1",
  "rgb": {
    "r": 65,
    "g": 44,
    "b": 177
  },
  "hsl": {
    "h": 249.474,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41425,
    "c": 0.19693,
    "h": 280.6
  },
  "luminance": 0.061
}

Semantic roles & 50–950 ramp

primary
#412CB1
secondary
#B9C673
accent
#E344CA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #412CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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