#412884#412884

#412884 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.6% C 0.145 H 289.7°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#412884
RGBrgb(65, 40, 132)
HSLhsl(256, 53%, 34%)
HSVhsv(256, 70%, 52%)
CMYKcmyk(50.8%, 69.7%, 0%, 48.2%)
CIE-LABlab(24.66, 35.33, -47.75)
CIE-LCHlch(24.66, 59.40, 306.50°)
OKLaboklab(36.59% 0.0491 -0.1369)
OKLCHoklch(36.59% 0.145 289.7)
XYZxyz(7.1024, 4.3071, 22.2824)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412884 #6B8428
analogous
#283D84 #412884 #6F2884
triadic
#412884 #844128 #288441
tetradic
#412884 #84283D #6B8428 #28846F
square
#412884 #84283D #6B8428 #28846F
split-complementary
#412884 #846F28 #3D8428
monochromatic
#130C26 #2A1A55 #412884 #5836B3 #795ACD

Accessibility & contrast

On white

11.28
#412884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#412884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412884
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412884#FFFFFF#000000##FFFFFF
##4128841.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C87
Deuteranopia (green-blind)
#003882
Tritanopia (blue-blind)
#2A3F52
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #412884;
/* rgb */ color: rgb(65, 40, 132);
/* oklch */ color: oklch(36.6% 0.145 289.7);
Tailwind
colors: {
  custom: {
    50: '#7c64a9',
    500: '#412884',
    950: '#000000',
  },
}
SCSS
$custom: #412884;
$custom-light: #7c64a9;
$custom-dark: #000000;
JSON
{
  "hex": "#412884",
  "rgb": {
    "r": 65,
    "g": 40,
    "b": 132
  },
  "hsl": {
    "h": 256.304,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36589,
    "c": 0.14547,
    "h": 289.7
  },
  "luminance": 0.04307
}

Semantic roles & 50–950 ramp

primary
#412884
secondary
#99B256
accent
#DD4BB5
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #412884

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

Preview Lab → · Contrast checker → · Palette generator →

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