#412F84#412F84

#412F84 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.7% C 0.136 H 287.8°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#412F84
RGBrgb(65, 47, 132)
HSLhsl(253, 47%, 35%)
HSVhsv(253, 64%, 52%)
CMYKcmyk(50.8%, 64.4%, 0%, 48.2%)
CIE-LABlab(26.22, 31.12, -45.21)
CIE-LCHlch(26.22, 54.89, 304.54°)
OKLaboklab(37.72% 0.0415 -0.1295)
OKLCHoklch(37.72% 0.136 287.8)
XYZxyz(7.3601, 4.8225, 22.3683)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412F84 #72842F
analogous
#2F4784 #412F84 #6C2F84
triadic
#412F84 #84412F #2F8441
tetradic
#412F84 #842F47 #72842F #2F846C
square
#412F84 #842F47 #72842F #2F846C
split-complementary
#412F84 #846C2F #47842F
monochromatic
#150F2A #2B1F57 #412F84 #573FB1 #7A65C8

Accessibility & contrast

On white

10.69
#412F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#412F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412F84
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412F84#FFFFFF#000000##FFFFFF
##412F841.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004087
Deuteranopia (green-blind)
#003C82
Tritanopia (blue-blind)
#2A4355
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #412f84;
/* rgb */ color: rgb(65, 47, 132);
/* oklch */ color: oklch(37.7% 0.136 287.8);
Tailwind
colors: {
  custom: {
    50: '#7c68a8',
    500: '#412f84',
    950: '#000000',
  },
}
SCSS
$custom: #412f84;
$custom-light: #7c68a8;
$custom-dark: #000000;
JSON
{
  "hex": "#412f84",
  "rgb": {
    "r": 65,
    "g": 47,
    "b": 132
  },
  "hsl": {
    "h": 252.706,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37718,
    "c": 0.13596,
    "h": 287.8
  },
  "luminance": 0.04823
}

Semantic roles & 50–950 ramp

primary
#412F84
secondary
#9EAF60
accent
#D751BB
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #412F84

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

Preview Lab → · Contrast checker → · Palette generator →

#412F84 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva