#412FB4#412FB4

#412FB4 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 42.1% C 0.198 H 279.8°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#412FB4
RGBrgb(65, 47, 180)
HSLhsl(248, 59%, 45%)
HSVhsv(248, 74%, 71%)
CMYKcmyk(63.9%, 73.9%, 0%, 29.4%)
CIE-LABlab(30.52, 46.28, -67.44)
CIE-LCHlch(30.52, 81.79, 304.46°)
OKLaboklab(42.12% 0.0337 -0.1946)
OKLCHoklch(42.12% 0.198 279.8)
XYZxyz(11.4321, 6.4512, 43.8139)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412FB4 #A2B42F
analogous
#2F60B4 #412FB4 #832FB4
triadic
#412FB4 #B4412F #2FB441
tetradic
#412FB4 #B42F60 #A2B42F #2FB483
square
#412FB4 #B42F60 #A2B42F #2FB483
split-complementary
#412FB4 #B4832F #60B42F
monochromatic
#1E1653 #2F2283 #412FB4 #614FD1 #8C80DE

Accessibility & contrast

On white

9.17
#412FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#412FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412FB4
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412FB4#FFFFFF#000000##FFFFFF
##412FB41.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB8
Deuteranopia (green-blind)
#0043B2
Tritanopia (blue-blind)
#00546F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #412fb4;
/* rgb */ color: rgb(65, 47, 180);
/* oklch */ color: oklch(42.1% 0.198 279.8);
Tailwind
colors: {
  custom: {
    50: '#846acc',
    500: '#412fb4',
    950: '#000000',
  },
}
SCSS
$custom: #412fb4;
$custom-light: #846acc;
$custom-dark: #000000;
JSON
{
  "hex": "#412fb4",
  "rgb": {
    "r": 65,
    "g": 47,
    "b": 180
  },
  "hsl": {
    "h": 248.12,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42124,
    "c": 0.19753,
    "h": 279.8
  },
  "luminance": 0.06452
}

Semantic roles & 50–950 ramp

primary
#412FB4
secondary
#BCC778
accent
#E246CD
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #412FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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