#412AA5#412AA5

#412AA5 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.0% C 0.184 H 282.7°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#412AA5
RGBrgb(65, 42, 165)
HSLhsl(251, 59%, 41%)
HSVhsv(251, 75%, 65%)
CMYKcmyk(60.6%, 74.5%, 0%, 35.3%)
CIE-LABlab(28.10, 44.34, -62.43)
CIE-LCHlch(28.10, 76.57, 305.38°)
OKLaboklab(39.97% 0.0406 -0.1799)
OKLCHoklch(39.97% 0.184 282.7)
XYZxyz(9.7974, 5.4957, 36.1345)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412AA5 #8EA52A
analogous
#2A50A5 #412AA5 #7F2AA5
triadic
#412AA5 #A5412A #2AA541
tetradic
#412AA5 #A52A50 #8EA52A #2AA57F
square
#412AA5 #A52A50 #8EA52A #2AA57F
split-complementary
#412AA5 #A57F2A #50A52A
monochromatic
#1B1143 #2E1E74 #412AA5 #593ECE #836FDA

Accessibility & contrast

On white

10.00
#412AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#412AA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412AA5
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412AA5#FFFFFF#000000##FFFFFF
##412AA51.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A9
Deuteranopia (green-blind)
#003EA3
Tritanopia (blue-blind)
#004C65
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #412aa5;
/* rgb */ color: rgb(65, 42, 165);
/* oklch */ color: oklch(40.0% 0.184 282.7);
Tailwind
colors: {
  custom: {
    50: '#8266c1',
    500: '#412aa5',
    950: '#000000',
  },
}
SCSS
$custom: #412aa5;
$custom-light: #8266c1;
$custom-dark: #000000;
JSON
{
  "hex": "#412aa5",
  "rgb": {
    "r": 65,
    "g": 42,
    "b": 165
  },
  "hsl": {
    "h": 251.22,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.3997,
    "c": 0.18448,
    "h": 282.7
  },
  "luminance": 0.05496
}

Semantic roles & 50–950 ramp

primary
#412AA5
secondary
#B1C169
accent
#E345C5
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #412AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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