#412CAF#412CAF

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

Color values

HEX#412CAF
RGBrgb(65, 44, 175)
HSLhsl(250, 60%, 43%)
HSVhsv(250, 75%, 69%)
CMYKcmyk(62.9%, 74.9%, 0%, 31.4%)
CIE-LABlab(29.46, 46.34, -66.21)
CIE-LCHlch(29.46, 80.81, 304.99°)
OKLaboklab(41.23% 0.0369 -0.191)
OKLCHoklch(41.23% 0.195 280.9)
XYZxyz(10.8161, 6.0195, 41.1410)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412CAF #9AAF2C
analogous
#2C59AF #412CAF #822CAF
triadic
#412CAF #AF412C #2CAF41
tetradic
#412CAF #AF2C59 #9AAF2C #2CAF82
square
#412CAF #AF2C59 #9AAF2C #2CAF82
split-complementary
#412CAF #AF822C #59AF2C
monochromatic
#1D134D #2F207E #412CAF #5D47D1 #8878DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##412CAF#FFFFFF#000000##FFFFFF
##412CAF1.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)
#004AB3
Deuteranopia (green-blind)
#0041AD
Tritanopia (blue-blind)
#00516B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #412caf;
/* rgb */ color: rgb(65, 44, 175);
/* oklch */ color: oklch(41.2% 0.195 280.9);
Tailwind
colors: {
  custom: {
    50: '#8468c8',
    500: '#412caf',
    950: '#000000',
  },
}
SCSS
$custom: #412caf;
$custom-light: #8468c8;
$custom-dark: #000000;
JSON
{
  "hex": "#412caf",
  "rgb": {
    "r": 65,
    "g": 44,
    "b": 175
  },
  "hsl": {
    "h": 249.618,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.41226,
    "c": 0.19452,
    "h": 280.9
  },
  "luminance": 0.0602
}

Semantic roles & 50–950 ramp

primary
#412CAF
secondary
#B8C572
accent
#E345CA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #412CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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