#412EAB#412EAB

#412EAB is a dark, vivid blue. Relative luminance 0.060; OKLCH L 41.1% C 0.188 H 281.2°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#412EAB
RGBrgb(65, 46, 171)
HSLhsl(249, 58%, 43%)
HSVhsv(249, 73%, 67%)
CMYKcmyk(62%, 73.1%, 0%, 32.9%)
CIE-LABlab(29.46, 44.02, -63.82)
CIE-LCHlch(29.46, 77.53, 304.60°)
OKLaboklab(41.1% 0.0364 -0.184)
OKLCHoklch(41.1% 0.188 281.2)
XYZxyz(10.5053, 6.0173, 39.1280)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412EAB #98AB2E
analogous
#2E59AB #412EAB #802EAB
triadic
#412EAB #AB412E #2EAB41
tetradic
#412EAB #AB2E59 #98AB2E #2EAB80
square
#412EAB #AB2E59 #98AB2E #2EAB80
split-complementary
#412EAB #AB802E #59AB2E
monochromatic
#1C144B #2F217B #412EAB #5D48CE #8879DB

Accessibility & contrast

On white

9.53
#412EAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#412EAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412EAB
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412EAB#FFFFFF#000000##FFFFFF
##412EAB1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAF
Deuteranopia (green-blind)
#0041A9
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #412eab;
/* rgb */ color: rgb(65, 46, 171);
/* oklch */ color: oklch(41.1% 0.188 281.2);
Tailwind
colors: {
  custom: {
    50: '#8369c5',
    500: '#412eab',
    950: '#000000',
  },
}
SCSS
$custom: #412eab;
$custom-light: #8369c5;
$custom-dark: #000000;
JSON
{
  "hex": "#412eab",
  "rgb": {
    "r": 65,
    "g": 46,
    "b": 171
  },
  "hsl": {
    "h": 249.12,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.41104,
    "c": 0.1876,
    "h": 281.2
  },
  "luminance": 0.06018
}

Semantic roles & 50–950 ramp

primary
#412EAB
secondary
#B7C372
accent
#E147C9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #412EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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