#412E89#412E89

#412E89 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.0% C 0.144 H 287.0°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#412E89
RGBrgb(65, 46, 137)
HSLhsl(253, 50%, 36%)
HSVhsv(253, 66%, 54%)
CMYKcmyk(52.6%, 66.4%, 0%, 46.3%)
CIE-LABlab(26.40, 33.32, -48.04)
CIE-LCHlch(26.40, 58.47, 304.74°)
OKLaboklab(37.97% 0.0421 -0.1378)
OKLCHoklch(37.97% 0.144 287)
XYZxyz(7.6710, 4.8836, 24.2005)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412E89 #76892E
analogous
#2E4889 #412E89 #6E2E89
triadic
#412E89 #89412E #2E8941
tetradic
#412E89 #892E48 #76892E #2E896E
square
#412E89 #892E48 #76892E #2E896E
split-complementary
#412E89 #896E2E #48892E
monochromatic
#160F2D #2B1F5B #412E89 #573DB7 #7B66CC

Accessibility & contrast

On white

10.62
#412E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#412E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412E89
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412E89#FFFFFF#000000##FFFFFF
##412E891.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418C
Deuteranopia (green-blind)
#003C87
Tritanopia (blue-blind)
#264457
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #412e89;
/* rgb */ color: rgb(65, 46, 137);
/* oklch */ color: oklch(38.0% 0.144 287.0);
Tailwind
colors: {
  custom: {
    50: '#7d68ac',
    500: '#412e89',
    950: '#000000',
  },
}
SCSS
$custom: #412e89;
$custom-light: #7d68ac;
$custom-dark: #000000;
JSON
{
  "hex": "#412e89",
  "rgb": {
    "r": 65,
    "g": 46,
    "b": 137
  },
  "hsl": {
    "h": 252.527,
    "s": 49.727,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37974,
    "c": 0.14409,
    "h": 287
  },
  "luminance": 0.04884
}

Semantic roles & 50–950 ramp

primary
#412E89
secondary
#A1B260
accent
#D94FBC
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #412E89

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

Preview Lab → · Contrast checker → · Palette generator →

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