#412A84#412A84

#412A84 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.9% C 0.143 H 289.2°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#412A84
RGBrgb(65, 42, 132)
HSLhsl(255, 52%, 34%)
HSVhsv(255, 68%, 52%)
CMYKcmyk(50.8%, 68.2%, 0%, 48.2%)
CIE-LABlab(25.09, 34.16, -47.05)
CIE-LCHlch(25.09, 58.14, 305.98°)
OKLaboklab(36.9% 0.047 -0.1349)
OKLCHoklch(36.9% 0.143 289.2)
XYZxyz(7.1716, 4.4454, 22.3055)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412A84 #6D842A
analogous
#2A4084 #412A84 #6E2A84
triadic
#412A84 #84412A #2A8441
tetradic
#412A84 #842A40 #6D842A #2A846E
square
#412A84 #842A40 #6D842A #2A846E
split-complementary
#412A84 #846E2A #40842A
monochromatic
#130C27 #2A1B56 #412A84 #5839B2 #795DCB

Accessibility & contrast

On white

11.12
#412A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#412A84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412A84
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412A84#FFFFFF#000000##FFFFFF
##412A841.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D87
Deuteranopia (green-blind)
#003982
Tritanopia (blue-blind)
#2A4053
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #412a84;
/* rgb */ color: rgb(65, 42, 132);
/* oklch */ color: oklch(36.9% 0.143 289.2);
Tailwind
colors: {
  custom: {
    50: '#7c65a9',
    500: '#412a84',
    950: '#000000',
  },
}
SCSS
$custom: #412a84;
$custom-light: #7c65a9;
$custom-dark: #000000;
JSON
{
  "hex": "#412a84",
  "rgb": {
    "r": 65,
    "g": 42,
    "b": 132
  },
  "hsl": {
    "h": 255.333,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.36898,
    "c": 0.14282,
    "h": 289.2
  },
  "luminance": 0.04446
}

Semantic roles & 50–950 ramp

primary
#412A84
secondary
#9BB159
accent
#DB4DB7
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #412A84

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

Preview Lab → · Contrast checker → · Palette generator →

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