#412AB6#412AB6

#412AB6 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.7% C 0.205 H 280.2°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#412AB6
RGBrgb(65, 42, 182)
HSLhsl(250, 63%, 44%)
HSVhsv(250, 77%, 71%)
CMYKcmyk(64.3%, 76.9%, 0%, 28.6%)
CIE-LABlab(29.80, 49.50, -69.82)
CIE-LCHlch(29.80, 85.59, 305.34°)
OKLaboklab(41.68% 0.0364 -0.2015)
OKLCHoklch(41.68% 0.205 280.2)
XYZxyz(11.4488, 6.1563, 44.8319)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412AB6 #9FB62A
analogous
#2A59B6 #412AB6 #872AB6
triadic
#412AB6 #B6412A #2AB641
tetradic
#412AB6 #B62A59 #9FB62A #2AB687
square
#412AB6 #B62A59 #9FB62A #2AB687
split-complementary
#412AB6 #B6872A #59B62A
monochromatic
#1D1353 #2F1F84 #412AB6 #5F48D5 #8B7AE0

Accessibility & contrast

On white

9.41
#412AB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#412AB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412AB6
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412AB6#FFFFFF#000000##FFFFFF
##412AB61.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBA
Deuteranopia (green-blind)
#0041B4
Tritanopia (blue-blind)
#00536F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #412ab6;
/* rgb */ color: rgb(65, 42, 182);
/* oklch */ color: oklch(41.7% 0.205 280.2);
Tailwind
colors: {
  custom: {
    50: '#8567cd',
    500: '#412ab6',
    950: '#000000',
  },
}
SCSS
$custom: #412ab6;
$custom-light: #8567cd;
$custom-dark: #000000;
JSON
{
  "hex": "#412ab6",
  "rgb": {
    "r": 65,
    "g": 42,
    "b": 182
  },
  "hsl": {
    "h": 249.857,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.41677,
    "c": 0.20478,
    "h": 280.2
  },
  "luminance": 0.06157
}

Semantic roles & 50–950 ramp

primary
#412AB6
secondary
#BAC873
accent
#E642CB
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #412AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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