#412E87#412E87

#412E87 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.8% C 0.141 H 287.4°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#412E87
RGBrgb(65, 46, 135)
HSLhsl(253, 49%, 35%)
HSVhsv(253, 66%, 53%)
CMYKcmyk(51.9%, 65.9%, 0%, 47.1%)
CIE-LABlab(26.24, 32.69, -47.07)
CIE-LCHlch(26.24, 57.30, 304.78°)
OKLaboklab(37.8% 0.0424 -0.1349)
OKLCHoklch(37.8% 0.141 287.4)
XYZxyz(7.5289, 4.8267, 23.4519)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412E87 #74872E
analogous
#2E4787 #412E87 #6D2E87
triadic
#412E87 #87412E #2E8741
tetradic
#412E87 #872E47 #74872E #2E876D
square
#412E87 #872E47 #74872E #2E876D
split-complementary
#412E87 #876D2E #47872E
monochromatic
#150F2C #2B1E59 #412E87 #573EB5 #7B65CA

Accessibility & contrast

On white

10.68
#412E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#412E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412E87
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412E87#FFFFFF#000000##FFFFFF
##412E871.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408A
Deuteranopia (green-blind)
#003C85
Tritanopia (blue-blind)
#284456
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #412e87;
/* rgb */ color: rgb(65, 46, 135);
/* oklch */ color: oklch(37.8% 0.141 287.4);
Tailwind
colors: {
  custom: {
    50: '#7c68ab',
    500: '#412e87',
    950: '#000000',
  },
}
SCSS
$custom: #412e87;
$custom-light: #7c68ab;
$custom-dark: #000000;
JSON
{
  "hex": "#412e87",
  "rgb": {
    "r": 65,
    "g": 46,
    "b": 135
  },
  "hsl": {
    "h": 252.809,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.37803,
    "c": 0.1414,
    "h": 287.4
  },
  "luminance": 0.04827
}

Semantic roles & 50–950 ramp

primary
#412E87
secondary
#A0B160
accent
#D94FBB
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #412E87

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

Preview Lab → · Contrast checker → · Palette generator →

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