#412F86#412F86

#412F86 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 37.9% C 0.139 H 287.4°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#412F86
RGBrgb(65, 47, 134)
HSLhsl(252, 48%, 35%)
HSVhsv(252, 65%, 53%)
CMYKcmyk(51.5%, 64.9%, 0%, 47.5%)
CIE-LABlab(26.38, 31.76, -46.20)
CIE-LCHlch(26.38, 56.06, 304.50°)
OKLaboklab(37.89% 0.0414 -0.1324)
OKLCHoklch(37.89% 0.139 287.4)
XYZxyz(7.4983, 4.8777, 23.0960)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412F86 #74862F
analogous
#2F4886 #412F86 #6C2F86
triadic
#412F86 #86412F #2F8641
tetradic
#412F86 #862F48 #74862F #2F866C
square
#412F86 #862F48 #74862F #2F866C
split-complementary
#412F86 #866C2F #48862F
monochromatic
#150F2B #2B1F59 #412F86 #573FB3 #7B66C9

Accessibility & contrast

On white

10.63
#412F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#412F86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412F86
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412F86#FFFFFF#000000##FFFFFF
##412F861.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004089
Deuteranopia (green-blind)
#003C84
Tritanopia (blue-blind)
#284456
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #412f86;
/* rgb */ color: rgb(65, 47, 134);
/* oklch */ color: oklch(37.9% 0.139 287.4);
Tailwind
colors: {
  custom: {
    50: '#7c68aa',
    500: '#412f86',
    950: '#000000',
  },
}
SCSS
$custom: #412f86;
$custom-light: #7c68aa;
$custom-dark: #000000;
JSON
{
  "hex": "#412f86",
  "rgb": {
    "r": 65,
    "g": 47,
    "b": 134
  },
  "hsl": {
    "h": 252.414,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.37885,
    "c": 0.13868,
    "h": 287.4
  },
  "luminance": 0.04878
}

Semantic roles & 50–950 ramp

primary
#412F86
secondary
#A0B060
accent
#D850BC
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #412F86

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

Preview Lab → · Contrast checker → · Palette generator →

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