#412D73#412D73

#412D73 is a dark, moderate violet. Relative luminance 0.042; OKLCH L 36.0% C 0.115 H 292.9°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#412D73
RGBrgb(65, 45, 115)
HSLhsl(257, 44%, 31%)
HSVhsv(257, 61%, 45%)
CMYKcmyk(43.5%, 60.9%, 0%, 54.9%)
CIE-LABlab(24.44, 27.08, -37.34)
CIE-LCHlch(24.44, 46.13, 305.95°)
OKLaboklab(36% 0.0448 -0.1063)
OKLCHoklch(36% 0.115 292.9)
XYZxyz(6.2120, 4.2382, 16.7071)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412D73 #5F732D
analogous
#2D3C73 #412D73 #642D73
triadic
#412D73 #73412D #2D7341
tetradic
#412D73 #732D3C #5F732D #2D7364
square
#412D73 #732D3C #5F732D #2D7364
split-complementary
#412D73 #73642D #3C732D
monochromatic
#0F0B1B #281C47 #412D73 #5A3E9F #785BBF

Accessibility & contrast

On white

11.37
#412D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#412D73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412D73
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412D73#FFFFFF#000000##FFFFFF
##412D731.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023B75
Deuteranopia (green-blind)
#0A3971
Tritanopia (blue-blind)
#333C4B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #412d73;
/* rgb */ color: rgb(65, 45, 115);
/* oklch */ color: oklch(36.0% 0.115 292.9);
Tailwind
colors: {
  custom: {
    50: '#79679c',
    500: '#412d73',
    950: '#000000',
  },
}
SCSS
$custom: #412d73;
$custom-light: #79679c;
$custom-dark: #000000;
JSON
{
  "hex": "#412d73",
  "rgb": {
    "r": 65,
    "g": 45,
    "b": 115
  },
  "hsl": {
    "h": 257.143,
    "s": 43.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.36004,
    "c": 0.11537,
    "h": 292.9
  },
  "luminance": 0.04238
}

Semantic roles & 50–950 ramp

primary
#412D73
secondary
#8EA457
accent
#D354AF
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #412D73

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

Preview Lab → · Contrast checker → · Palette generator →

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