#412C84#412C84

#412C84 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.2% C 0.140 H 288.7°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#412C84
RGBrgb(65, 44, 132)
HSLhsl(254, 50%, 35%)
HSVhsv(254, 67%, 52%)
CMYKcmyk(50.8%, 66.7%, 0%, 48.2%)
CIE-LABlab(25.54, 32.96, -46.33)
CIE-LCHlch(25.54, 56.86, 305.43°)
OKLaboklab(37.22% 0.0449 -0.1327)
OKLCHoklch(37.22% 0.14 288.7)
XYZxyz(7.2443, 4.5908, 22.3297)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412C84 #6F842C
analogous
#2C4384 #412C84 #6D2C84
triadic
#412C84 #84412C #2C8441
tetradic
#412C84 #842C43 #6F842C #2C846D
square
#412C84 #842C43 #6F842C #2C846D
split-complementary
#412C84 #846D2C #43842C
monochromatic
#140D28 #2A1D56 #412C84 #583BB2 #7A60CA

Accessibility & contrast

On white

10.95
#412C84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#412C84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412C84
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412C84#FFFFFF#000000##FFFFFF
##412C841.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E87
Deuteranopia (green-blind)
#003A82
Tritanopia (blue-blind)
#2A4154
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #412c84;
/* rgb */ color: rgb(65, 44, 132);
/* oklch */ color: oklch(37.2% 0.140 288.7);
Tailwind
colors: {
  custom: {
    50: '#7c66a8',
    500: '#412c84',
    950: '#000000',
  },
}
SCSS
$custom: #412c84;
$custom-light: #7c66a8;
$custom-dark: #000000;
JSON
{
  "hex": "#412c84",
  "rgb": {
    "r": 65,
    "g": 44,
    "b": 132
  },
  "hsl": {
    "h": 254.318,
    "s": 50,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37219,
    "c": 0.14012,
    "h": 288.7
  },
  "luminance": 0.04591
}

Semantic roles & 50–950 ramp

primary
#412C84
secondary
#9CB05C
accent
#DA4EB8
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #412C84

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

Preview Lab → · Contrast checker → · Palette generator →

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