#412DB4#412DB4

#412DB4 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.9% C 0.200 H 280.1°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#412DB4
RGBrgb(65, 45, 180)
HSLhsl(249, 60%, 44%)
HSVhsv(249, 75%, 71%)
CMYKcmyk(63.9%, 75%, 0%, 29.4%)
CIE-LABlab(30.14, 47.35, -68.07)
CIE-LCHlch(30.14, 82.91, 304.82°)
OKLaboklab(41.86% 0.035 -0.1964)
OKLCHoklch(41.86% 0.2 280.1)
XYZxyz(11.3540, 6.2950, 43.7879)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412DB4 #A0B42D
analogous
#2D5DB4 #412DB4 #852DB4
triadic
#412DB4 #B4412D #2DB441
tetradic
#412DB4 #B42D5D #A0B42D #2DB485
square
#412DB4 #B42D5D #A0B42D #2DB485
split-complementary
#412DB4 #B4852D #5DB42D
monochromatic
#1E1552 #2F2183 #412DB4 #604CD2 #8B7DDE

Accessibility & contrast

On white

9.30
#412DB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#412DB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412DB4
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412DB4#FFFFFF#000000##FFFFFF
##412DB41.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB8
Deuteranopia (green-blind)
#0042B2
Tritanopia (blue-blind)
#00546E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #412db4;
/* rgb */ color: rgb(65, 45, 180);
/* oklch */ color: oklch(41.9% 0.200 280.1);
Tailwind
colors: {
  custom: {
    50: '#8469cc',
    500: '#412db4',
    950: '#000000',
  },
}
SCSS
$custom: #412db4;
$custom-light: #8469cc;
$custom-dark: #000000;
JSON
{
  "hex": "#412db4",
  "rgb": {
    "r": 65,
    "g": 45,
    "b": 180
  },
  "hsl": {
    "h": 248.889,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.41857,
    "c": 0.19954,
    "h": 280.1
  },
  "luminance": 0.06296
}

Semantic roles & 50–950 ramp

primary
#412DB4
secondary
#BBC776
accent
#E345CC
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #412DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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