#412B96#412B96

#412B96 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.7% C 0.165 H 285.1°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#412B96
RGBrgb(65, 43, 150)
HSLhsl(252, 55%, 38%)
HSVhsv(252, 71%, 59%)
CMYKcmyk(56.7%, 71.3%, 0%, 41.2%)
CIE-LABlab(26.89, 39.16, -55.29)
CIE-LCHlch(26.89, 67.75, 305.31°)
OKLaboklab(38.67% 0.043 -0.159)
OKLCHoklch(38.67% 0.165 285.1)
XYZxyz(8.5472, 5.0531, 29.3732)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412B96 #80962B
analogous
#2B4B96 #412B96 #762B96
triadic
#412B96 #96412B #2B9641
tetradic
#412B96 #962B4B #80962B #2B9676
square
#412B96 #962B4B #80962B #2B9676
split-complementary
#412B96 #96762B #4B962B
monochromatic
#181037 #2C1D66 #412B96 #5639C6 #7E68D4

Accessibility & contrast

On white

10.44
#412B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#412B96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412B96
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412B96#FFFFFF#000000##FFFFFF
##412B961.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#003C94
Tritanopia (blue-blind)
#19475D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #412b96;
/* rgb */ color: rgb(65, 43, 150);
/* oklch */ color: oklch(38.7% 0.165 285.1);
Tailwind
colors: {
  custom: {
    50: '#7f66b6',
    500: '#412b96',
    950: '#000000',
  },
}
SCSS
$custom: #412b96;
$custom-light: #7f66b6;
$custom-dark: #000000;
JSON
{
  "hex": "#412b96",
  "rgb": {
    "r": 65,
    "g": 43,
    "b": 150
  },
  "hsl": {
    "h": 252.336,
    "s": 55.44,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38674,
    "c": 0.16477,
    "h": 285.1
  },
  "luminance": 0.05054
}

Semantic roles & 50–950 ramp

primary
#412B96
secondary
#A8BA63
accent
#DF49C0
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #412B96

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

Preview Lab → · Contrast checker → · Palette generator →

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