#412A73#412A73

#412A73 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.5% C 0.120 H 293.9°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#412A73
RGBrgb(65, 42, 115)
HSLhsl(259, 46%, 31%)
HSVhsv(259, 63%, 45%)
CMYKcmyk(43.5%, 63.5%, 0%, 54.9%)
CIE-LABlab(23.73, 28.96, -38.50)
CIE-LCHlch(23.73, 48.17, 306.95°)
OKLaboklab(35.48% 0.0487 -0.1097)
OKLCHoklch(35.48% 0.12 293.9)
XYZxyz(6.1016, 4.0174, 16.6703)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412A73 #5C732A
analogous
#2A3773 #412A73 #652A73
triadic
#412A73 #73412A #2A7341
tetradic
#412A73 #732A37 #5C732A #2A7365
square
#412A73 #732A37 #5C732A #2A7365
split-complementary
#412A73 #73652A #37732A
monochromatic
#0E0919 #281A46 #412A73 #5A3AA0 #7856C1

Accessibility & contrast

On white

11.64
#412A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#412A73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412A73
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412A73#FFFFFF#000000##FFFFFF
##412A731.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003975
Deuteranopia (green-blind)
#013771
Tritanopia (blue-blind)
#343A4A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #412a73;
/* rgb */ color: rgb(65, 42, 115);
/* oklch */ color: oklch(35.5% 0.120 293.9);
Tailwind
colors: {
  custom: {
    50: '#7a659c',
    500: '#412a73',
    950: '#000000',
  },
}
SCSS
$custom: #412a73;
$custom-light: #7a659c;
$custom-dark: #000000;
JSON
{
  "hex": "#412a73",
  "rgb": {
    "r": 65,
    "g": 42,
    "b": 115
  },
  "hsl": {
    "h": 258.904,
    "s": 46.497,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3548,
    "c": 0.12002,
    "h": 293.9
  },
  "luminance": 0.04018
}

Semantic roles & 50–950 ramp

primary
#412A73
secondary
#8BA554
accent
#D652AC
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09050E
muted
#7B7A7E

Preview Lab

Preview with #412A73

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

Preview Lab → · Contrast checker → · Palette generator →

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