#412D99#412D99

#412D99 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.2% C 0.166 H 284.2°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#412D99
RGBrgb(65, 45, 153)
HSLhsl(251, 55%, 39%)
HSVhsv(251, 71%, 60%)
CMYKcmyk(57.5%, 70.6%, 0%, 40%)
CIE-LABlab(27.57, 38.95, -56.00)
CIE-LCHlch(27.57, 68.21, 304.82°)
OKLaboklab(39.25% 0.0407 -0.1611)
OKLCHoklch(39.25% 0.166 284.2)
XYZxyz(8.8664, 5.3000, 30.6866)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412D99 #85992D
analogous
#2D4F99 #412D99 #772D99
triadic
#412D99 #99412D #2D9941
tetradic
#412D99 #992D4F #85992D #2D9977
square
#412D99 #992D4F #85992D #2D9977
split-complementary
#412D99 #99772D #4F992D
monochromatic
#19113A #2D1F6A #412D99 #573DC6 #806CD4

Accessibility & contrast

On white

10.19
#412D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412D99
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412D99#FFFFFF#000000##FFFFFF
##412D991.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#003E97
Tritanopia (blue-blind)
#15495F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #412d99;
/* rgb */ color: rgb(65, 45, 153);
/* oklch */ color: oklch(39.2% 0.166 284.2);
Tailwind
colors: {
  custom: {
    50: '#7f68b8',
    500: '#412d99',
    950: '#000000',
  },
}
SCSS
$custom: #412d99;
$custom-light: #7f68b8;
$custom-dark: #000000;
JSON
{
  "hex": "#412d99",
  "rgb": {
    "r": 65,
    "g": 45,
    "b": 153
  },
  "hsl": {
    "h": 251.111,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.39249,
    "c": 0.16621,
    "h": 284.2
  },
  "luminance": 0.053
}

Semantic roles & 50–950 ramp

primary
#412D99
secondary
#ABBB67
accent
#DE4AC2
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #412D99

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

Preview Lab → · Contrast checker → · Palette generator →

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