#412FB6#412FB6

#412FB6 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 42.3% C 0.200 H 279.6°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#412FB6
RGBrgb(65, 47, 182)
HSLhsl(248, 59%, 45%)
HSVhsv(248, 74%, 71%)
CMYKcmyk(64.3%, 74.2%, 0%, 28.6%)
CIE-LABlab(30.72, 46.90, -68.31)
CIE-LCHlch(30.72, 82.86, 304.47°)
OKLaboklab(42.32% 0.0333 -0.1972)
OKLCHoklch(42.32% 0.2 279.6)
XYZxyz(11.6373, 6.5333, 44.8947)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412FB6 #A4B62F
analogous
#2F61B6 #412FB6 #852FB6
triadic
#412FB6 #B6412F #2FB641
tetradic
#412FB6 #B62F61 #A4B62F #2FB685
square
#412FB6 #B62F61 #A4B62F #2FB685
split-complementary
#412FB6 #B6852F #61B62F
monochromatic
#1E1655 #302285 #412FB6 #6250D2 #8D81DE

Accessibility & contrast

On white

9.10
#412FB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#412FB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412FB6
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412FB6#FFFFFF#000000##FFFFFF
##412FB61.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBA
Deuteranopia (green-blind)
#0043B4
Tritanopia (blue-blind)
#005570
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #412fb6;
/* rgb */ color: rgb(65, 47, 182);
/* oklch */ color: oklch(42.3% 0.200 279.6);
Tailwind
colors: {
  custom: {
    50: '#856acd',
    500: '#412fb6',
    950: '#000000',
  },
}
SCSS
$custom: #412fb6;
$custom-light: #856acd;
$custom-dark: #000000;
JSON
{
  "hex": "#412fb6",
  "rgb": {
    "r": 65,
    "g": 47,
    "b": 182
  },
  "hsl": {
    "h": 248,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.42322,
    "c": 0.19995,
    "h": 279.6
  },
  "luminance": 0.06534
}

Semantic roles & 50–950 ramp

primary
#412FB6
secondary
#BDC779
accent
#E246CD
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #412FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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