#412586#412586

#412586 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.3% C 0.152 H 289.9°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#412586
RGBrgb(65, 37, 134)
HSLhsl(257, 57%, 34%)
HSVhsv(257, 72%, 53%)
CMYKcmyk(51.5%, 72.4%, 0%, 47.5%)
CIE-LABlab(24.22, 37.65, -49.73)
CIE-LCHlch(24.22, 62.37, 307.13°)
OKLaboklab(36.33% 0.0517 -0.1427)
OKLCHoklch(36.33% 0.152 289.9)
XYZxyz(7.1434, 4.1679, 22.9777)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412586 #6A8625
analogous
#253986 #412586 #712586
triadic
#412586 #864125 #258641
tetradic
#412586 #862539 #6A8625 #258671
square
#412586 #862539 #6A8625 #258671
split-complementary
#412586 #867125 #398625
monochromatic
#120B26 #2A1856 #412586 #5832B6 #7955D0

Accessibility & contrast

On white

11.45
#412586 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#412586 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412586
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412586#FFFFFF#000000##FFFFFF
##4125861.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B89
Deuteranopia (green-blind)
#003784
Tritanopia (blue-blind)
#293E53
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #412586;
/* rgb */ color: rgb(65, 37, 134);
/* oklch */ color: oklch(36.3% 0.152 289.9);
Tailwind
colors: {
  custom: {
    50: '#7d62aa',
    500: '#412586',
    950: '#000000',
  },
}
SCSS
$custom: #412586;
$custom-light: #7d62aa;
$custom-dark: #000000;
JSON
{
  "hex": "#412586",
  "rgb": {
    "r": 65,
    "g": 37,
    "b": 134
  },
  "hsl": {
    "h": 257.32,
    "s": 56.725,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36327,
    "c": 0.15181,
    "h": 289.9
  },
  "luminance": 0.04168
}

Semantic roles & 50–950 ramp

primary
#412586
secondary
#98B452
accent
#E048B4
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #412586

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

Preview Lab → · Contrast checker → · Palette generator →

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