#412D76#412D76

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

Color values

HEX#412D76
RGBrgb(65, 45, 118)
HSLhsl(256, 45%, 32%)
HSVhsv(256, 62%, 46%)
CMYKcmyk(44.9%, 61.9%, 0%, 53.7%)
CIE-LABlab(24.67, 28.00, -38.90)
CIE-LCHlch(24.67, 47.93, 305.75°)
OKLaboklab(36.24% 0.0447 -0.1109)
OKLCHoklch(36.24% 0.12 292)
XYZxyz(6.3875, 4.3084, 17.6311)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412D76 #62762D
analogous
#2D3E76 #412D76 #662D76
triadic
#412D76 #76412D #2D7641
tetradic
#412D76 #762D3E #62762D #2D7666
square
#412D76 #762D3E #62762D #2D7666
split-complementary
#412D76 #76662D #3E762D
monochromatic
#100B1D #291C4A #412D76 #593EA2 #785CC1

Accessibility & contrast

On white

11.28
#412D76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412D76
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412D76#FFFFFF#000000##FFFFFF
##412D761.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C78
Deuteranopia (green-blind)
#023974
Tritanopia (blue-blind)
#323D4D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #412d76;
/* rgb */ color: rgb(65, 45, 118);
/* oklch */ color: oklch(36.2% 0.120 292.0);
Tailwind
colors: {
  custom: {
    50: '#7a679e',
    500: '#412d76',
    950: '#000000',
  },
}
SCSS
$custom: #412d76;
$custom-light: #7a679e;
$custom-dark: #000000;
JSON
{
  "hex": "#412d76",
  "rgb": {
    "r": 65,
    "g": 45,
    "b": 118
  },
  "hsl": {
    "h": 256.438,
    "s": 44.785,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36237,
    "c": 0.11958,
    "h": 292
  },
  "luminance": 0.04309
}

Semantic roles & 50–950 ramp

primary
#412D76
secondary
#91A757
accent
#D453B1
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #412D76

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

Preview Lab → · Contrast checker → · Palette generator →

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