#412B86#412B86

#412B86 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.2% C 0.144 H 288.5°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#412B86
RGBrgb(65, 43, 134)
HSLhsl(255, 51%, 35%)
HSVhsv(255, 68%, 53%)
CMYKcmyk(51.5%, 67.9%, 0%, 47.5%)
CIE-LABlab(25.48, 34.18, -47.67)
CIE-LCHlch(25.48, 58.66, 305.64°)
OKLaboklab(37.23% 0.0457 -0.1367)
OKLCHoklch(37.23% 0.144 288.5)
XYZxyz(7.3457, 4.5725, 23.0452)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412B86 #70862B
analogous
#2B4386 #412B86 #6E2B86
triadic
#412B86 #86412B #2B8641
tetradic
#412B86 #862B43 #70862B #2B866E
square
#412B86 #862B43 #70862B #2B866E
split-complementary
#412B86 #866E2B #43862B
monochromatic
#140D29 #2B1C58 #412B86 #573AB4 #7A60CC

Accessibility & contrast

On white

10.97
#412B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#412B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412B86
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412B86#FFFFFF#000000##FFFFFF
##412B861.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E89
Deuteranopia (green-blind)
#003A84
Tritanopia (blue-blind)
#294154
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #412b86;
/* rgb */ color: rgb(65, 43, 134);
/* oklch */ color: oklch(37.2% 0.144 288.5);
Tailwind
colors: {
  custom: {
    50: '#7c66aa',
    500: '#412b86',
    950: '#000000',
  },
}
SCSS
$custom: #412b86;
$custom-light: #7c66aa;
$custom-dark: #000000;
JSON
{
  "hex": "#412b86",
  "rgb": {
    "r": 65,
    "g": 43,
    "b": 134
  },
  "hsl": {
    "h": 254.505,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37231,
    "c": 0.14412,
    "h": 288.5
  },
  "luminance": 0.04573
}

Semantic roles & 50–950 ramp

primary
#412B86
secondary
#9DB25B
accent
#DB4DB9
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #412B86

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

Preview Lab → · Contrast checker → · Palette generator →

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