#412C86#412C86

#412C86 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.4% C 0.143 H 288.2°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#412C86
RGBrgb(65, 44, 134)
HSLhsl(254, 51%, 35%)
HSVhsv(254, 67%, 53%)
CMYKcmyk(51.5%, 67.2%, 0%, 47.5%)
CIE-LABlab(25.70, 33.58, -47.31)
CIE-LCHlch(25.70, 58.02, 305.37°)
OKLaboklab(37.39% 0.0446 -0.1356)
OKLCHoklch(37.39% 0.143 288.2)
XYZxyz(7.3825, 4.6461, 23.0574)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412C86 #71862C
analogous
#2C4486 #412C86 #6E2C86
triadic
#412C86 #86412C #2C8641
tetradic
#412C86 #862C44 #71862C #2C866E
square
#412C86 #862C44 #71862C #2C866E
split-complementary
#412C86 #866E2C #44862C
monochromatic
#140E2A #2B1D58 #412C86 #573BB4 #7A61CB

Accessibility & contrast

On white

10.89
#412C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#412C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412C86
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412C86#FFFFFF#000000##FFFFFF
##412C861.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F89
Deuteranopia (green-blind)
#003B84
Tritanopia (blue-blind)
#294255
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #412c86;
/* rgb */ color: rgb(65, 44, 134);
/* oklch */ color: oklch(37.4% 0.143 288.2);
Tailwind
colors: {
  custom: {
    50: '#7c66aa',
    500: '#412c86',
    950: '#000000',
  },
}
SCSS
$custom: #412c86;
$custom-light: #7c66aa;
$custom-dark: #000000;
JSON
{
  "hex": "#412c86",
  "rgb": {
    "r": 65,
    "g": 44,
    "b": 134
  },
  "hsl": {
    "h": 254,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37391,
    "c": 0.14278,
    "h": 288.2
  },
  "luminance": 0.04646
}

Semantic roles & 50–950 ramp

primary
#412C86
secondary
#9EB15C
accent
#DA4EB9
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #412C86

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

Preview Lab → · Contrast checker → · Palette generator →

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