#412B99#412B99

#412B99 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.0% C 0.169 H 284.6°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#412B99
RGBrgb(65, 43, 153)
HSLhsl(252, 56%, 38%)
HSVhsv(252, 72%, 60%)
CMYKcmyk(57.5%, 71.9%, 0%, 40%)
CIE-LABlab(27.16, 40.09, -56.68)
CIE-LCHlch(27.16, 69.42, 305.27°)
OKLaboklab(38.96% 0.0425 -0.1631)
OKLCHoklch(38.96% 0.169 284.6)
XYZxyz(8.7919, 5.1510, 30.6618)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412B99 #83992B
analogous
#2B4C99 #412B99 #782B99
triadic
#412B99 #99412B #2B9941
tetradic
#412B99 #992B4C #83992B #2B9978
square
#412B99 #992B4C #83992B #2B9978
split-complementary
#412B99 #99782B #4C992B
monochromatic
#181039 #2D1E69 #412B99 #563AC8 #7F69D5

Accessibility & contrast

On white

10.34
#412B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412B99
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412B99#FFFFFF#000000##FFFFFF
##412B991.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439C
Deuteranopia (green-blind)
#003D97
Tritanopia (blue-blind)
#15485F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #412b99;
/* rgb */ color: rgb(65, 43, 153);
/* oklch */ color: oklch(39.0% 0.169 284.6);
Tailwind
colors: {
  custom: {
    50: '#8066b8',
    500: '#412b99',
    950: '#000000',
  },
}
SCSS
$custom: #412b99;
$custom-light: #8066b8;
$custom-dark: #000000;
JSON
{
  "hex": "#412b99",
  "rgb": {
    "r": 65,
    "g": 43,
    "b": 153
  },
  "hsl": {
    "h": 252,
    "s": 56.122,
    "l": 38.431
  },
  "oklch": {
    "l": 0.38955,
    "c": 0.16855,
    "h": 284.6
  },
  "luminance": 0.05151
}

Semantic roles & 50–950 ramp

primary
#412B99
secondary
#AABC64
accent
#DF48C1
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #412B99

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

Preview Lab → · Contrast checker → · Palette generator →

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