#412CAC#412CAC

#412CAC is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.9% C 0.191 H 281.3°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#412CAC
RGBrgb(65, 44, 172)
HSLhsl(250, 59%, 42%)
HSVhsv(250, 74%, 67%)
CMYKcmyk(62.2%, 74.4%, 0%, 32.5%)
CIE-LABlab(29.17, 45.42, -64.90)
CIE-LCHlch(29.17, 79.21, 304.99°)
OKLaboklab(40.93% 0.0376 -0.1872)
OKLCHoklch(40.93% 0.191 281.3)
XYZxyz(10.5247, 5.9030, 39.6065)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412CAC #97AC2C
analogous
#2C57AC #412CAC #812CAC
triadic
#412CAC #AC412C #2CAC41
tetradic
#412CAC #AC2C57 #97AC2C #2CAC81
square
#412CAC #AC2C57 #97AC2C #2CAC81
split-complementary
#412CAC #AC812C #57AC2C
monochromatic
#1C134B #2F207B #412CAC #5C46D0 #8776DC

Accessibility & contrast

On white

9.63
#412CAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#412CAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412CAC
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412CAC#FFFFFF#000000##FFFFFF
##412CAC1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B0
Deuteranopia (green-blind)
#0040AA
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #412cac;
/* rgb */ color: rgb(65, 44, 172);
/* oklch */ color: oklch(40.9% 0.191 281.3);
Tailwind
colors: {
  custom: {
    50: '#8368c6',
    500: '#412cac',
    950: '#000000',
  },
}
SCSS
$custom: #412cac;
$custom-light: #8368c6;
$custom-dark: #000000;
JSON
{
  "hex": "#412cac",
  "rgb": {
    "r": 65,
    "g": 44,
    "b": 172
  },
  "hsl": {
    "h": 249.844,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40928,
    "c": 0.1909,
    "h": 281.3
  },
  "luminance": 0.05904
}

Semantic roles & 50–950 ramp

primary
#412CAC
secondary
#B6C470
accent
#E245C9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #412CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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