#412C73#412C73

#412C73 is a dark, moderate violet. Relative luminance 0.042; OKLCH L 35.8% C 0.117 H 293.2°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#412C73
RGBrgb(65, 44, 115)
HSLhsl(258, 45%, 31%)
HSVhsv(258, 62%, 45%)
CMYKcmyk(43.5%, 61.7%, 0%, 54.9%)
CIE-LABlab(24.20, 27.71, -37.73)
CIE-LCHlch(24.20, 46.81, 306.29°)
OKLaboklab(35.83% 0.0461 -0.1075)
OKLCHoklch(35.83% 0.117 293.2)
XYZxyz(6.1743, 4.1628, 16.6945)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412C73 #5E732C
analogous
#2C3A73 #412C73 #642C73
triadic
#412C73 #73412C #2C7341
tetradic
#412C73 #732C3A #5E732C #2C7364
square
#412C73 #732C3A #5E732C #2C7364
split-complementary
#412C73 #73642C #3A732C
monochromatic
#0F0A1A #281B47 #412C73 #5A3D9F #785AC0

Accessibility & contrast

On white

11.46
#412C73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412C73
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412C73#FFFFFF#000000##FFFFFF
##412C731.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A75
Deuteranopia (green-blind)
#073871
Tritanopia (blue-blind)
#343C4B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #412c73;
/* rgb */ color: rgb(65, 44, 115);
/* oklch */ color: oklch(35.8% 0.117 293.2);
Tailwind
colors: {
  custom: {
    50: '#7a669c',
    500: '#412c73',
    950: '#000000',
  },
}
SCSS
$custom: #412c73;
$custom-light: #7a669c;
$custom-dark: #000000;
JSON
{
  "hex": "#412c73",
  "rgb": {
    "r": 65,
    "g": 44,
    "b": 115
  },
  "hsl": {
    "h": 257.746,
    "s": 44.654,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35827,
    "c": 0.11693,
    "h": 293.2
  },
  "luminance": 0.04163
}

Semantic roles & 50–950 ramp

primary
#412C73
secondary
#8DA556
accent
#D453AE
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #412C73

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

Preview Lab → · Contrast checker → · Palette generator →

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