#412AD3#412AD3

#412AD3 is a dark, highly saturated blue. Relative luminance 0.075; OKLCH L 44.7% C 0.238 H 276.9°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#412AD3
RGBrgb(65, 42, 211)
HSLhsl(248, 67%, 50%)
HSVhsv(248, 80%, 83%)
CMYKcmyk(69.2%, 80.1%, 0%, 17.3%)
CIE-LABlab(32.88, 58.08, -81.75)
CIE-LCHlch(32.88, 100.28, 305.39°)
OKLaboklab(44.73% 0.0285 -0.2362)
OKLCHoklch(44.73% 0.238 276.9)
XYZxyz(14.7620, 7.4815, 62.2815)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412AD3 #BCD32A
analogous
#2A67D3 #412AD3 #962AD3
triadic
#412AD3 #D3412A #2AD341
tetradic
#412AD3 #D32A67 #BCD32A #2AD396
square
#412AD3 #D32A67 #BCD32A #2AD396
split-complementary
#412AD3 #D3962A #67D32A
monochromatic
#22166D #3120A0 #412AD3 #6E5CDE #9B8FE9

Accessibility & contrast

On white

8.41
#412AD3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#412AD3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412AD3
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412AD3#FFFFFF#000000##FFFFFF
##412AD31.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054D8
Deuteranopia (green-blind)
#0046D0
Tritanopia (blue-blind)
#005F80
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #412ad3;
/* rgb */ color: rgb(65, 42, 211);
/* oklch */ color: oklch(44.7% 0.238 276.9);
Tailwind
colors: {
  custom: {
    50: '#8b69e2',
    500: '#412ad3',
    950: '#000000',
  },
}
SCSS
$custom: #412ad3;
$custom-light: #8b69e2;
$custom-dark: #000000;
JSON
{
  "hex": "#412ad3",
  "rgb": {
    "r": 65,
    "g": 42,
    "b": 211
  },
  "hsl": {
    "h": 248.166,
    "s": 66.798,
    "l": 49.608
  },
  "oklch": {
    "l": 0.44727,
    "c": 0.23796,
    "h": 276.9
  },
  "luminance": 0.07483
}

Semantic roles & 50–950 ramp

primary
#412AD3
secondary
#C9D386
accent
#EA3ED2
background
#F9F6FE
surface
#F2EBFC
border
#CCC6D5
text
#0E0716
muted
#7E7A84

Preview Lab

Preview with #412AD3

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

Preview Lab → · Contrast checker → · Palette generator →

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