#412C96#412C96

#412C96 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.8% C 0.164 H 284.9°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#412C96
RGBrgb(65, 44, 150)
HSLhsl(252, 55%, 38%)
HSVhsv(252, 71%, 59%)
CMYKcmyk(56.7%, 70.7%, 0%, 41.2%)
CIE-LABlab(27.09, 38.59, -54.95)
CIE-LCHlch(27.09, 67.14, 305.08°)
OKLaboklab(38.82% 0.0421 -0.1581)
OKLCHoklch(38.82% 0.164 284.9)
XYZxyz(8.5840, 5.1267, 29.3855)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412C96 #81962C
analogous
#2C4C96 #412C96 #762C96
triadic
#412C96 #96412C #2C9641
tetradic
#412C96 #962C4C #81962C #2C9676
square
#412C96 #962C4C #81962C #2C9676
split-complementary
#412C96 #96762C #4C962C
monochromatic
#181037 #2C1E67 #412C96 #563AC5 #7E69D3

Accessibility & contrast

On white

10.37
#412C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#412C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412C96
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412C96#FFFFFF#000000##FFFFFF
##412C961.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #412c96;
/* rgb */ color: rgb(65, 44, 150);
/* oklch */ color: oklch(38.8% 0.164 284.9);
Tailwind
colors: {
  custom: {
    50: '#7f67b6',
    500: '#412c96',
    950: '#000000',
  },
}
SCSS
$custom: #412c96;
$custom-light: #7f67b6;
$custom-dark: #000000;
JSON
{
  "hex": "#412c96",
  "rgb": {
    "r": 65,
    "g": 44,
    "b": 150
  },
  "hsl": {
    "h": 251.887,
    "s": 54.639,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38822,
    "c": 0.16358,
    "h": 284.9
  },
  "luminance": 0.05127
}

Semantic roles & 50–950 ramp

primary
#412C96
secondary
#A9BA64
accent
#DE4AC1
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #412C96

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

Preview Lab → · Contrast checker → · Palette generator →

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