#412784#412784

#412784 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.4% C 0.147 H 290.0°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#412784
RGBrgb(65, 39, 132)
HSLhsl(257, 54%, 34%)
HSVhsv(257, 70%, 52%)
CMYKcmyk(50.8%, 70.5%, 0%, 48.2%)
CIE-LABlab(24.45, 35.91, -48.10)
CIE-LCHlch(24.45, 60.03, 306.75°)
OKLaboklab(36.44% 0.0501 -0.1379)
OKLCHoklch(36.44% 0.147 290)
XYZxyz(7.0692, 4.2405, 22.2713)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412784 #6A8427
analogous
#273B84 #412784 #6F2784
triadic
#412784 #844127 #278441
tetradic
#412784 #84273B #6A8427 #27846F
square
#412784 #84273B #6A8427 #27846F
split-complementary
#412784 #846F27 #3B8427
monochromatic
#120B26 #2A1955 #412784 #5835B3 #7958CE

Accessibility & contrast

On white

11.36
#412784 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#412784 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412784
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412784#FFFFFF#000000##FFFFFF
##4127841.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #412784;
/* rgb */ color: rgb(65, 39, 132);
/* oklch */ color: oklch(36.4% 0.147 290.0);
Tailwind
colors: {
  custom: {
    50: '#7c63a9',
    500: '#412784',
    950: '#000000',
  },
}
SCSS
$custom: #412784;
$custom-light: #7c63a9;
$custom-dark: #000000;
JSON
{
  "hex": "#412784",
  "rgb": {
    "r": 65,
    "g": 39,
    "b": 132
  },
  "hsl": {
    "h": 256.774,
    "s": 54.386,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36438,
    "c": 0.14676,
    "h": 290
  },
  "luminance": 0.04241
}

Semantic roles & 50–950 ramp

primary
#412784
secondary
#98B254
accent
#DE4AB4
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #412784

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

Preview Lab → · Contrast checker → · Palette generator →

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