#412776#412776

#412776 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.2% C 0.129 H 293.9°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#412776
RGBrgb(65, 39, 118)
HSLhsl(260, 50%, 31%)
HSVhsv(260, 67%, 46%)
CMYKcmyk(44.9%, 66.9%, 0%, 53.7%)
CIE-LABlab(23.28, 31.69, -41.14)
CIE-LCHlch(23.28, 51.93, 307.61°)
OKLaboklab(35.23% 0.0521 -0.1175)
OKLCHoklch(35.23% 0.129 293.9)
XYZxyz(6.1746, 3.8827, 17.5601)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412776 #5C7627
analogous
#273476 #412776 #682776
triadic
#412776 #764127 #277641
tetradic
#412776 #762734 #5C7627 #277668
square
#412776 #762734 #5C7627 #277668
split-complementary
#412776 #766827 #347627
monochromatic
#0E091A #281848 #412776 #5A36A4 #7852C6

Accessibility & contrast

On white

11.82
#412776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412776
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412776#FFFFFF#000000##FFFFFF
##4127761.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003878
Deuteranopia (green-blind)
#003674
Tritanopia (blue-blind)
#32394A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #412776;
/* rgb */ color: rgb(65, 39, 118);
/* oklch */ color: oklch(35.2% 0.129 293.9);
Tailwind
colors: {
  custom: {
    50: '#7a639e',
    500: '#412776',
    950: '#000000',
  },
}
SCSS
$custom: #412776;
$custom-light: #7a639e;
$custom-dark: #000000;
JSON
{
  "hex": "#412776",
  "rgb": {
    "r": 65,
    "g": 39,
    "b": 118
  },
  "hsl": {
    "h": 259.747,
    "s": 50.318,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35228,
    "c": 0.12853,
    "h": 293.9
  },
  "luminance": 0.03883
}

Semantic roles & 50–950 ramp

primary
#412776
secondary
#8BA851
accent
#DA4EAC
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #412776

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

Preview Lab → · Contrast checker → · Palette generator →

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