#412A96#412A96

#412A96 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.5% C 0.166 H 285.3°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#412A96
RGBrgb(65, 42, 150)
HSLhsl(253, 56%, 38%)
HSVhsv(253, 72%, 59%)
CMYKcmyk(56.7%, 72%, 0%, 41.2%)
CIE-LABlab(26.68, 39.72, -55.62)
CIE-LCHlch(26.68, 68.35, 305.53°)
OKLaboklab(38.53% 0.0439 -0.16)
OKLCHoklch(38.53% 0.166 285.3)
XYZxyz(8.5113, 4.9813, 29.3612)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412A96 #7F962A
analogous
#2A4996 #412A96 #772A96
triadic
#412A96 #96412A #2A9641
tetradic
#412A96 #962A49 #7F962A #2A9677
square
#412A96 #962A49 #7F962A #2A9677
split-complementary
#412A96 #96772A #49962A
monochromatic
#180F36 #2C1D66 #412A96 #5637C6 #7E66D4

Accessibility & contrast

On white

10.52
#412A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#412A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412A96
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412A96#FFFFFF#000000##FFFFFF
##412A961.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004299
Deuteranopia (green-blind)
#003C94
Tritanopia (blue-blind)
#1A475D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #412a96;
/* rgb */ color: rgb(65, 42, 150);
/* oklch */ color: oklch(38.5% 0.166 285.3);
Tailwind
colors: {
  custom: {
    50: '#7f66b6',
    500: '#412a96',
    950: '#000000',
  },
}
SCSS
$custom: #412a96;
$custom-light: #7f66b6;
$custom-dark: #000000;
JSON
{
  "hex": "#412a96",
  "rgb": {
    "r": 65,
    "g": 42,
    "b": 150
  },
  "hsl": {
    "h": 252.778,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38529,
    "c": 0.16594,
    "h": 285.3
  },
  "luminance": 0.04982
}

Semantic roles & 50–950 ramp

primary
#412A96
secondary
#A7BA61
accent
#E048BF
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #412A96

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

Preview Lab → · Contrast checker → · Palette generator →

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