#412BB2#412BB2

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

Color values

HEX#412BB2
RGBrgb(65, 43, 178)
HSLhsl(250, 61%, 43%)
HSVhsv(250, 76%, 70%)
CMYKcmyk(63.5%, 75.8%, 0%, 30.2%)
CIE-LABlab(29.58, 47.78, -67.81)
CIE-LCHlch(29.58, 82.95, 305.17°)
OKLaboklab(41.4% 0.0368 -0.1957)
OKLCHoklch(41.4% 0.199 280.6)
XYZxyz(11.0772, 6.0651, 42.6978)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412BB2 #9CB22B
analogous
#2B58B2 #412BB2 #842BB2
triadic
#412BB2 #B2412B #2BB241
tetradic
#412BB2 #B22B58 #9CB22B #2BB284
square
#412BB2 #B22B58 #9CB22B #2BB284
split-complementary
#412BB2 #B2842B #58B22B
monochromatic
#1D134F #2F1F81 #412BB2 #5E48D3 #8979DF

Accessibility & contrast

On white

9.49
#412BB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#412BB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412BB2
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412BB2#FFFFFF#000000##FFFFFF
##412BB21.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #412bb2;
/* rgb */ color: rgb(65, 43, 178);
/* oklch */ color: oklch(41.4% 0.199 280.6);
Tailwind
colors: {
  custom: {
    50: '#8468ca',
    500: '#412bb2',
    950: '#000000',
  },
}
SCSS
$custom: #412bb2;
$custom-light: #8468ca;
$custom-dark: #000000;
JSON
{
  "hex": "#412bb2",
  "rgb": {
    "r": 65,
    "g": 43,
    "b": 178
  },
  "hsl": {
    "h": 249.778,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41396,
    "c": 0.1991,
    "h": 280.6
  },
  "luminance": 0.06066
}

Semantic roles & 50–950 ramp

primary
#412BB2
secondary
#B9C772
accent
#E444CA
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #412BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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