#412E73#412E73

#412E73 is a dark, moderate violet. Relative luminance 0.043; OKLCH L 36.2% C 0.114 H 292.5°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#412E73
RGBrgb(65, 46, 115)
HSLhsl(257, 43%, 32%)
HSVhsv(257, 60%, 45%)
CMYKcmyk(43.5%, 60%, 0%, 54.9%)
CIE-LABlab(24.69, 26.44, -36.95)
CIE-LCHlch(24.69, 45.43, 305.59°)
OKLaboklab(36.18% 0.0435 -0.1052)
OKLCHoklch(36.18% 0.114 292.5)
XYZxyz(6.2506, 4.3154, 16.7200)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412E73 #60732E
analogous
#2E3E73 #412E73 #642E73
triadic
#412E73 #73412E #2E7341
tetradic
#412E73 #732E3E #60732E #2E7364
square
#412E73 #732E3E #60732E #2E7364
split-complementary
#412E73 #73642E #3E732E
monochromatic
#100B1C #281D47 #412E73 #5A3F9F #785DBE

Accessibility & contrast

On white

11.27
#412E73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#412E73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412E73
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412E73#FFFFFF#000000##FFFFFF
##412E731.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063C75
Deuteranopia (green-blind)
#0C3971
Tritanopia (blue-blind)
#333D4B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #412e73;
/* rgb */ color: rgb(65, 46, 115);
/* oklch */ color: oklch(36.2% 0.114 292.5);
Tailwind
colors: {
  custom: {
    50: '#79679c',
    500: '#412e73',
    950: '#000000',
  },
}
SCSS
$custom: #412e73;
$custom-light: #79679c;
$custom-dark: #000000;
JSON
{
  "hex": "#412e73",
  "rgb": {
    "r": 65,
    "g": 46,
    "b": 115
  },
  "hsl": {
    "h": 256.522,
    "s": 42.857,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36183,
    "c": 0.1138,
    "h": 292.5
  },
  "luminance": 0.04316
}

Semantic roles & 50–950 ramp

primary
#412E73
secondary
#8FA458
accent
#D355B0
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #412E73

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

Preview Lab → · Contrast checker → · Palette generator →

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