#412B84#412B84

#412B84 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.1% C 0.141 H 288.9°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#412B84
RGBrgb(65, 43, 132)
HSLhsl(255, 51%, 34%)
HSVhsv(255, 67%, 52%)
CMYKcmyk(50.8%, 67.4%, 0%, 48.2%)
CIE-LABlab(25.31, 33.56, -46.69)
CIE-LCHlch(25.31, 57.50, 305.71°)
OKLaboklab(37.06% 0.0459 -0.1338)
OKLCHoklch(37.06% 0.141 288.9)
XYZxyz(7.2075, 4.5172, 22.3175)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412B84 #6E842B
analogous
#2B4284 #412B84 #6E2B84
triadic
#412B84 #84412B #2B8441
tetradic
#412B84 #842B42 #6E842B #2B846E
square
#412B84 #842B42 #6E842B #2B846E
split-complementary
#412B84 #846E2B #42842B
monochromatic
#140D28 #2A1C56 #412B84 #583AB2 #795FCB

Accessibility & contrast

On white

11.03
#412B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#412B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412B84
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412B84#FFFFFF#000000##FFFFFF
##412B841.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #412b84;
/* rgb */ color: rgb(65, 43, 132);
/* oklch */ color: oklch(37.1% 0.141 288.9);
Tailwind
colors: {
  custom: {
    50: '#7c66a9',
    500: '#412b84',
    950: '#000000',
  },
}
SCSS
$custom: #412b84;
$custom-light: #7c66a9;
$custom-dark: #000000;
JSON
{
  "hex": "#412b84",
  "rgb": {
    "r": 65,
    "g": 43,
    "b": 132
  },
  "hsl": {
    "h": 254.831,
    "s": 50.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37057,
    "c": 0.14147,
    "h": 288.9
  },
  "luminance": 0.04518
}

Semantic roles & 50–950 ramp

primary
#412B84
secondary
#9BB15A
accent
#DA4DB8
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #412B84

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

Preview Lab → · Contrast checker → · Palette generator →

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