#412E96#412E96

#412E96 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.1% C 0.161 H 284.5°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#412E96
RGBrgb(65, 46, 150)
HSLhsl(251, 53%, 38%)
HSVhsv(251, 69%, 59%)
CMYKcmyk(56.7%, 69.3%, 0%, 41.2%)
CIE-LABlab(27.52, 37.42, -54.26)
CIE-LCHlch(27.52, 65.91, 304.60°)
OKLaboklab(39.13% 0.0403 -0.156)
OKLCHoklch(39.13% 0.161 284.5)
XYZxyz(8.6603, 5.2793, 29.4109)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412E96 #83962E
analogous
#2E4F96 #412E96 #752E96
triadic
#412E96 #96412E #2E9641
tetradic
#412E96 #962E4F #83962E #2E9675
square
#412E96 #962E4F #83962E #2E9675
split-complementary
#412E96 #96752E #4F962E
monochromatic
#181138 #2D2067 #412E96 #563EC4 #7F6CD2

Accessibility & contrast

On white

10.21
#412E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#412E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412E96
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412E96#FFFFFF#000000##FFFFFF
##412E961.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004499
Deuteranopia (green-blind)
#003E94
Tritanopia (blue-blind)
#19495E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #412e96;
/* rgb */ color: rgb(65, 46, 150);
/* oklch */ color: oklch(39.1% 0.161 284.5);
Tailwind
colors: {
  custom: {
    50: '#7f68b6',
    500: '#412e96',
    950: '#000000',
  },
}
SCSS
$custom: #412e96;
$custom-light: #7f68b6;
$custom-dark: #000000;
JSON
{
  "hex": "#412e96",
  "rgb": {
    "r": 65,
    "g": 46,
    "b": 150
  },
  "hsl": {
    "h": 250.962,
    "s": 53.061,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39126,
    "c": 0.16116,
    "h": 284.5
  },
  "luminance": 0.0528
}

Semantic roles & 50–950 ramp

primary
#412E96
secondary
#AAB967
accent
#DC4BC2
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #412E96

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

Preview Lab → · Contrast checker → · Palette generator →

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