#412086#412086

#412086 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.6% C 0.158 H 290.9°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#412086
RGBrgb(65, 32, 134)
HSLhsl(259, 61%, 33%)
HSVhsv(259, 76%, 53%)
CMYKcmyk(51.5%, 76.1%, 0%, 47.5%)
CIE-LABlab(23.26, 40.33, -51.29)
CIE-LCHlch(23.26, 65.25, 308.17°)
OKLaboklab(35.65% 0.0564 -0.1473)
OKLCHoklch(35.65% 0.158 290.9)
XYZxyz(6.9983, 3.8778, 22.9294)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412086 #658620
analogous
#203286 #412086 #742086
triadic
#412086 #864120 #208641
tetradic
#412086 #862032 #658620 #208674
square
#412086 #862032 #658620 #208674
split-complementary
#412086 #867420 #328620
monochromatic
#110823 #291455 #412086 #592CB7 #784CD4

Accessibility & contrast

On white

11.83
#412086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#412086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412086
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412086#FFFFFF#000000##FFFFFF
##4120861.0011.831.7811.83
#FFFFFF11.831.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003989
Deuteranopia (green-blind)
#003584
Tritanopia (blue-blind)
#293C51
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #412086;
/* rgb */ color: rgb(65, 32, 134);
/* oklch */ color: oklch(35.6% 0.158 290.9);
Tailwind
colors: {
  custom: {
    50: '#7d5faa',
    500: '#412086',
    950: '#000000',
  },
}
SCSS
$custom: #412086;
$custom-light: #7d5faa;
$custom-dark: #000000;
JSON
{
  "hex": "#412086",
  "rgb": {
    "r": 65,
    "g": 32,
    "b": 134
  },
  "hsl": {
    "h": 259.412,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.3565,
    "c": 0.1577,
    "h": 290.9
  },
  "luminance": 0.03878
}

Semantic roles & 50–950 ramp

primary
#412086
secondary
#94B74B
accent
#E543B0
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #412086

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

Preview Lab → · Contrast checker → · Palette generator →

#412086 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva