#412886#412886

#412886 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.8% C 0.148 H 289.2°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#412886
RGBrgb(65, 40, 134)
HSLhsl(256, 54%, 34%)
HSVhsv(256, 70%, 53%)
CMYKcmyk(51.5%, 70.1%, 0%, 47.5%)
CIE-LABlab(24.83, 35.95, -48.72)
CIE-LCHlch(24.83, 60.55, 306.42°)
OKLaboklab(36.77% 0.0488 -0.1398)
OKLCHoklch(36.77% 0.148 289.2)
XYZxyz(7.2406, 4.3623, 23.0101)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412886 #6D8628
analogous
#283E86 #412886 #702886
triadic
#412886 #864128 #288641
tetradic
#412886 #86283E #6D8628 #288670
square
#412886 #86283E #6D8628 #288670
split-complementary
#412886 #867028 #3E8628
monochromatic
#130C28 #2A1A57 #412886 #5836B5 #795BCE

Accessibility & contrast

On white

11.21
#412886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#412886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412886
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412886#FFFFFF#000000##FFFFFF
##4128861.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D89
Deuteranopia (green-blind)
#003984
Tritanopia (blue-blind)
#294053
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #412886;
/* rgb */ color: rgb(65, 40, 134);
/* oklch */ color: oklch(36.8% 0.148 289.2);
Tailwind
colors: {
  custom: {
    50: '#7d64aa',
    500: '#412886',
    950: '#000000',
  },
}
SCSS
$custom: #412886;
$custom-light: #7d64aa;
$custom-dark: #000000;
JSON
{
  "hex": "#412886",
  "rgb": {
    "r": 65,
    "g": 40,
    "b": 134
  },
  "hsl": {
    "h": 255.957,
    "s": 54.023,
    "l": 34.118
  },
  "oklch": {
    "l": 0.36767,
    "c": 0.14804,
    "h": 289.2
  },
  "luminance": 0.04363
}

Semantic roles & 50–950 ramp

primary
#412886
secondary
#9BB357
accent
#DD4AB6
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #412886

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

Preview Lab → · Contrast checker → · Palette generator →

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