#412A80#412A80

#412A80 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.6% C 0.138 H 290.2°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#412A80
RGBrgb(65, 42, 128)
HSLhsl(256, 51%, 33%)
HSVhsv(256, 67%, 50%)
CMYKcmyk(49.2%, 67.2%, 0%, 49.8%)
CIE-LABlab(24.76, 32.93, -45.08)
CIE-LCHlch(24.76, 55.83, 306.14°)
OKLaboklab(36.55% 0.0475 -0.1291)
OKLCHoklch(36.55% 0.138 290.2)
XYZxyz(6.9031, 4.3380, 20.8915)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412A80 #69802A
analogous
#2A3E80 #412A80 #6C2A80
triadic
#412A80 #80412A #2A8041
tetradic
#412A80 #802A3E #69802A #2A806C
square
#412A80 #802A3E #69802A #2A806C
split-complementary
#412A80 #806C2A #3E802A
monochromatic
#120C24 #2A1B52 #412A80 #5839AE #795BC9

Accessibility & contrast

On white

11.24
#412A80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#412A80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412A80
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412A80#FFFFFF#000000##FFFFFF
##412A801.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C83
Deuteranopia (green-blind)
#00397E
Tritanopia (blue-blind)
#2D3F51
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #412a80;
/* rgb */ color: rgb(65, 42, 128);
/* oklch */ color: oklch(36.6% 0.138 290.2);
Tailwind
colors: {
  custom: {
    50: '#7c65a6',
    500: '#412a80',
    950: '#000000',
  },
}
SCSS
$custom: #412a80;
$custom-light: #7c65a6;
$custom-dark: #000000;
JSON
{
  "hex": "#412a80",
  "rgb": {
    "r": 65,
    "g": 42,
    "b": 128
  },
  "hsl": {
    "h": 256.047,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36553,
    "c": 0.13754,
    "h": 290.2
  },
  "luminance": 0.04338
}

Semantic roles & 50–950 ramp

primary
#412A80
secondary
#97AF57
accent
#DA4EB5
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #412A80

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

Preview Lab → · Contrast checker → · Palette generator →

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