#412C72#412C72

#412C72 is a dark, moderate violet. Relative luminance 0.041; OKLCH L 35.7% C 0.116 H 293.5°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#412C72
RGBrgb(65, 44, 114)
HSLhsl(258, 44%, 31%)
HSVhsv(258, 61%, 45%)
CMYKcmyk(43%, 61.4%, 0%, 55.3%)
CIE-LABlab(24.13, 27.40, -37.21)
CIE-LCHlch(24.13, 46.21, 306.37°)
OKLaboklab(35.75% 0.0461 -0.1059)
OKLCHoklch(35.75% 0.116 293.5)
XYZxyz(6.1171, 4.1399, 16.3931)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412C72 #5D722C
analogous
#2C3A72 #412C72 #642C72
triadic
#412C72 #72412C #2C7241
tetradic
#412C72 #722C3A #5D722C #2C7264
square
#412C72 #722C3A #5D722C #2C7264
split-complementary
#412C72 #72642C #3A722C
monochromatic
#0F0A1A #281B46 #412C72 #5A3D9E #7859BF

Accessibility & contrast

On white

11.49
#412C72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#412C72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412C72
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412C72#FFFFFF#000000##FFFFFF
##412C721.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A74
Deuteranopia (green-blind)
#093870
Tritanopia (blue-blind)
#343B4A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #412c72;
/* rgb */ color: rgb(65, 44, 114);
/* oklch */ color: oklch(35.7% 0.116 293.5);
Tailwind
colors: {
  custom: {
    50: '#79669b',
    500: '#412c72',
    950: '#000000',
  },
}
SCSS
$custom: #412c72;
$custom-light: #79669b;
$custom-dark: #000000;
JSON
{
  "hex": "#412c72",
  "rgb": {
    "r": 65,
    "g": 44,
    "b": 114
  },
  "hsl": {
    "h": 258,
    "s": 44.304,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35749,
    "c": 0.11554,
    "h": 293.5
  },
  "luminance": 0.0414
}

Semantic roles & 50–950 ramp

primary
#412C72
secondary
#8CA456
accent
#D454AE
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #412C72

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

Preview Lab → · Contrast checker → · Palette generator →

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