#412DAA#412DAA

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

Color values

HEX#412DAA
RGBrgb(65, 45, 170)
HSLhsl(250, 58%, 42%)
HSVhsv(250, 74%, 67%)
CMYKcmyk(61.8%, 73.5%, 0%, 33.3%)
CIE-LABlab(29.16, 44.26, -63.70)
CIE-LCHlch(29.16, 77.56, 304.79°)
OKLaboklab(40.87% 0.0373 -0.1837)
OKLCHoklch(40.87% 0.187 281.5)
XYZxyz(10.3718, 5.9021, 38.6151)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412DAA #96AA2D
analogous
#2D58AA #412DAA #802DAA
triadic
#412DAA #AA412D #2DAA41
tetradic
#412DAA #AA2D58 #96AA2D #2DAA80
square
#412DAA #AA2D58 #96AA2D #2DAA80
split-complementary
#412DAA #AA802D #58AA2D
monochromatic
#1C1349 #2E207A #412DAA #5C46CE #8777DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##412DAA#FFFFFF#000000##FFFFFF
##412DAA1.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)
#0049AE
Deuteranopia (green-blind)
#0040A8
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #412daa;
/* rgb */ color: rgb(65, 45, 170);
/* oklch */ color: oklch(40.9% 0.187 281.5);
Tailwind
colors: {
  custom: {
    50: '#8268c4',
    500: '#412daa',
    950: '#000000',
  },
}
SCSS
$custom: #412daa;
$custom-light: #8268c4;
$custom-dark: #000000;
JSON
{
  "hex": "#412daa",
  "rgb": {
    "r": 65,
    "g": 45,
    "b": 170
  },
  "hsl": {
    "h": 249.6,
    "s": 58.14,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40868,
    "c": 0.18743,
    "h": 281.5
  },
  "luminance": 0.05903
}

Semantic roles & 50–950 ramp

primary
#412DAA
secondary
#B6C370
accent
#E146C9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #412DAA

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

Preview Lab → · Contrast checker → · Palette generator →

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