#412FB2#412FB2

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

Color values

HEX#412FB2
RGBrgb(65, 47, 178)
HSLhsl(248, 58%, 44%)
HSVhsv(248, 74%, 70%)
CMYKcmyk(63.5%, 73.6%, 0%, 30.2%)
CIE-LABlab(30.33, 45.66, -66.57)
CIE-LCHlch(30.33, 80.72, 304.44°)
OKLaboklab(41.93% 0.0342 -0.1921)
OKLCHoklch(41.93% 0.195 280.1)
XYZxyz(11.2298, 6.3703, 42.7487)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412FB2 #A0B22F
analogous
#2F5FB2 #412FB2 #832FB2
triadic
#412FB2 #B2412F #2FB241
tetradic
#412FB2 #B22F5F #A0B22F #2FB283
square
#412FB2 #B22F5F #A0B22F #2FB283
split-complementary
#412FB2 #B2832F #5FB22F
monochromatic
#1E1551 #2F2282 #412FB2 #604ED0 #8B7EDD

Accessibility & contrast

On white

9.23
#412FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#412FB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412FB2
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412FB2#FFFFFF#000000##FFFFFF
##412FB21.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #412fb2;
/* rgb */ color: rgb(65, 47, 178);
/* oklch */ color: oklch(41.9% 0.195 280.1);
Tailwind
colors: {
  custom: {
    50: '#846aca',
    500: '#412fb2',
    950: '#000000',
  },
}
SCSS
$custom: #412fb2;
$custom-light: #846aca;
$custom-dark: #000000;
JSON
{
  "hex": "#412fb2",
  "rgb": {
    "r": 65,
    "g": 47,
    "b": 178
  },
  "hsl": {
    "h": 248.244,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.41927,
    "c": 0.1951,
    "h": 280.1
  },
  "luminance": 0.06371
}

Semantic roles & 50–950 ramp

primary
#412FB2
secondary
#BBC677
accent
#E146CC
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #412FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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