#412876#412876

#412876 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.4% C 0.127 H 293.6°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#412876
RGBrgb(65, 40, 118)
HSLhsl(259, 49%, 31%)
HSVhsv(259, 66%, 46%)
CMYKcmyk(44.9%, 66.1%, 0%, 53.7%)
CIE-LABlab(23.50, 31.09, -40.78)
CIE-LCHlch(23.50, 51.28, 307.32°)
OKLaboklab(35.39% 0.0509 -0.1164)
OKLCHoklch(35.39% 0.127 293.6)
XYZxyz(6.2079, 3.9492, 17.5712)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412876 #5D7628
analogous
#283676 #412876 #682876
triadic
#412876 #764128 #287641
tetradic
#412876 #762836 #5D7628 #287668
square
#412876 #762836 #5D7628 #287668
split-complementary
#412876 #766828 #367628
monochromatic
#0F091B #281948 #412876 #5A37A4 #7854C5

Accessibility & contrast

On white

11.73
#412876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#412876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412876
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412876#FFFFFF#000000##FFFFFF
##4128761.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003978
Deuteranopia (green-blind)
#003774
Tritanopia (blue-blind)
#323A4B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #412876;
/* rgb */ color: rgb(65, 40, 118);
/* oklch */ color: oklch(35.4% 0.127 293.6);
Tailwind
colors: {
  custom: {
    50: '#7a639e',
    500: '#412876',
    950: '#000000',
  },
}
SCSS
$custom: #412876;
$custom-light: #7a639e;
$custom-dark: #000000;
JSON
{
  "hex": "#412876",
  "rgb": {
    "r": 65,
    "g": 40,
    "b": 118
  },
  "hsl": {
    "h": 259.231,
    "s": 49.367,
    "l": 30.98
  },
  "oklch": {
    "l": 0.3539,
    "c": 0.12706,
    "h": 293.6
  },
  "luminance": 0.03949
}

Semantic roles & 50–950 ramp

primary
#412876
secondary
#8CA852
accent
#D94FAD
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A050E
muted
#7C7A7E

Preview Lab

Preview with #412876

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

Preview Lab → · Contrast checker → · Palette generator →

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