#412477#412477

#412477 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.8% C 0.134 H 294.4°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#412477
RGBrgb(65, 36, 119)
HSLhsl(261, 54%, 30%)
HSVhsv(261, 70%, 47%)
CMYKcmyk(45.4%, 69.7%, 0%, 53.3%)
CIE-LABlab(22.71, 33.75, -42.70)
CIE-LCHlch(22.71, 54.43, 308.32°)
OKLaboklab(34.85% 0.0555 -0.1221)
OKLCHoklch(34.85% 0.134 294.4)
XYZxyz(6.1397, 3.7173, 17.8432)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412477 #5A7724
analogous
#243077 #412477 #6A2477
triadic
#412477 #774124 #247741
tetradic
#412477 #772430 #5A7724 #24776A
square
#412477 #772430 #5A7724 #24776A
split-complementary
#412477 #776A24 #307724
monochromatic
#0E0819 #271648 #412477 #5B32A6 #784CC9

Accessibility & contrast

On white

12.05
#412477 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#412477 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412477
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412477#FFFFFF#000000##FFFFFF
##4124771.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377A
Deuteranopia (green-blind)
#003575
Tritanopia (blue-blind)
#32384A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #412477;
/* rgb */ color: rgb(65, 36, 119);
/* oklch */ color: oklch(34.8% 0.134 294.4);
Tailwind
colors: {
  custom: {
    50: '#7b619f',
    500: '#412477',
    950: '#000000',
  },
}
SCSS
$custom: #412477;
$custom-light: #7b619f;
$custom-dark: #000000;
JSON
{
  "hex": "#412477",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 119
  },
  "hsl": {
    "h": 260.964,
    "s": 53.548,
    "l": 30.392
  },
  "oklch": {
    "l": 0.34846,
    "c": 0.13407,
    "h": 294.4
  },
  "luminance": 0.03717
}

Semantic roles & 50–950 ramp

primary
#412477
secondary
#89AA4D
accent
#DD4BAA
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #412477

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

Preview Lab → · Contrast checker → · Palette generator →

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