#412684#412684

#412684 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.3% C 0.148 H 290.2°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#412684
RGBrgb(65, 38, 132)
HSLhsl(257, 55%, 33%)
HSVhsv(257, 71%, 52%)
CMYKcmyk(50.8%, 71.2%, 0%, 48.2%)
CIE-LABlab(24.24, 36.48, -48.43)
CIE-LCHlch(24.24, 60.64, 306.99°)
OKLaboklab(36.29% 0.0511 -0.1389)
OKLCHoklch(36.29% 0.148 290.2)
XYZxyz(7.0368, 4.1757, 22.2605)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412684 #698426
analogous
#263A84 #412684 #702684
triadic
#412684 #844126 #268441
tetradic
#412684 #84263A #698426 #268470
square
#412684 #84263A #698426 #268470
split-complementary
#412684 #847026 #3A8426
monochromatic
#120B25 #2A1854 #412684 #5834B4 #7956CE

Accessibility & contrast

On white

11.44
#412684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#412684 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412684
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412684#FFFFFF#000000##FFFFFF
##4126841.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #412684;
/* rgb */ color: rgb(65, 38, 132);
/* oklch */ color: oklch(36.3% 0.148 290.2);
Tailwind
colors: {
  custom: {
    50: '#7c63a9',
    500: '#412684',
    950: '#000000',
  },
}
SCSS
$custom: #412684;
$custom-light: #7c63a9;
$custom-dark: #000000;
JSON
{
  "hex": "#412684",
  "rgb": {
    "r": 65,
    "g": 38,
    "b": 132
  },
  "hsl": {
    "h": 257.234,
    "s": 55.294,
    "l": 33.333
  },
  "oklch": {
    "l": 0.3629,
    "c": 0.14803,
    "h": 290.2
  },
  "luminance": 0.04176
}

Semantic roles & 50–950 ramp

primary
#412684
secondary
#97B353
accent
#DF49B4
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #412684

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

Preview Lab → · Contrast checker → · Palette generator →

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