#412D77#412D77

#412D77 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.3% C 0.121 H 291.7°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#412D77
RGBrgb(65, 45, 119)
HSLhsl(256, 45%, 32%)
HSVhsv(256, 62%, 47%)
CMYKcmyk(45.4%, 62.2%, 0%, 53.3%)
CIE-LABlab(24.74, 28.31, -39.41)
CIE-LCHlch(24.74, 48.52, 305.69°)
OKLaboklab(36.32% 0.0447 -0.1124)
OKLCHoklch(36.32% 0.121 291.7)
XYZxyz(6.4472, 4.3323, 17.9457)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412D77 #63772D
analogous
#2D3E77 #412D77 #662D77
triadic
#412D77 #77412D #2D7741
tetradic
#412D77 #772D3E #63772D #2D7766
square
#412D77 #772D3E #63772D #2D7766
split-complementary
#412D77 #77662D #3E772D
monochromatic
#100B1E #291C4B #412D77 #593EA3 #785DC2

Accessibility & contrast

On white

11.25
#412D77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#412D77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412D77
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412D77#FFFFFF#000000##FFFFFF
##412D771.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C79
Deuteranopia (green-blind)
#003975
Tritanopia (blue-blind)
#323E4D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #412d77;
/* rgb */ color: rgb(65, 45, 119);
/* oklch */ color: oklch(36.3% 0.121 291.7);
Tailwind
colors: {
  custom: {
    50: '#7a679f',
    500: '#412d77',
    950: '#000000',
  },
}
SCSS
$custom: #412d77;
$custom-light: #7a679f;
$custom-dark: #000000;
JSON
{
  "hex": "#412d77",
  "rgb": {
    "r": 65,
    "g": 45,
    "b": 119
  },
  "hsl": {
    "h": 256.216,
    "s": 45.122,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36316,
    "c": 0.12096,
    "h": 291.7
  },
  "luminance": 0.04332
}

Semantic roles & 50–950 ramp

primary
#412D77
secondary
#92A858
accent
#D553B2
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #412D77

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

Preview Lab → · Contrast checker → · Palette generator →

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