#412084#412084

#412084 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.5% C 0.155 H 291.5°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#412084
RGBrgb(65, 32, 132)
HSLhsl(260, 61%, 32%)
HSVhsv(260, 76%, 52%)
CMYKcmyk(50.8%, 75.8%, 0%, 48.2%)
CIE-LABlab(23.08, 39.75, -50.34)
CIE-LCHlch(23.08, 64.14, 308.29°)
OKLaboklab(35.46% 0.0569 -0.1445)
OKLCHoklch(35.46% 0.155 291.5)
XYZxyz(6.8602, 3.8225, 22.2017)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412084 #638420
analogous
#203184 #412084 #732084
triadic
#412084 #844120 #208441
tetradic
#412084 #842031 #638420 #208473
square
#412084 #842031 #638420 #208473
split-complementary
#412084 #847320 #318420
monochromatic
#100821 #291453 #412084 #592CB5 #784BD3

Accessibility & contrast

On white

11.90
#412084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#412084 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412084
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412084#FFFFFF#000000##FFFFFF
##4120841.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003987
Deuteranopia (green-blind)
#003582
Tritanopia (blue-blind)
#2B3B50
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #412084;
/* rgb */ color: rgb(65, 32, 132);
/* oklch */ color: oklch(35.5% 0.155 291.5);
Tailwind
colors: {
  custom: {
    50: '#7d5fa9',
    500: '#412084',
    950: '#000000',
  },
}
SCSS
$custom: #412084;
$custom-light: #7d5fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#412084",
  "rgb": {
    "r": 65,
    "g": 32,
    "b": 132
  },
  "hsl": {
    "h": 259.8,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.3546,
    "c": 0.15529,
    "h": 291.5
  },
  "luminance": 0.03823
}

Semantic roles & 50–950 ramp

primary
#412084
secondary
#92B64A
accent
#E444AF
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #412084

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

Preview Lab → · Contrast checker → · Palette generator →

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