#412E8A#412E8A

#412E8A is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.1% C 0.145 H 286.8°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#412E8A
RGBrgb(65, 46, 138)
HSLhsl(252, 50%, 36%)
HSVhsv(252, 67%, 54%)
CMYKcmyk(52.9%, 66.7%, 0%, 45.9%)
CIE-LABlab(26.48, 33.63, -48.53)
CIE-LCHlch(26.48, 59.05, 304.72°)
OKLaboklab(38.06% 0.042 -0.1392)
OKLCHoklch(38.06% 0.145 286.8)
XYZxyz(7.7431, 4.9124, 24.5800)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412E8A #778A2E
analogous
#2E498A #412E8A #6F2E8A
triadic
#412E8A #8A412E #2E8A41
tetradic
#412E8A #8A2E49 #778A2E #2E8A6F
square
#412E8A #8A2E49 #778A2E #2E8A6F
split-complementary
#412E8A #8A6F2E #498A2E
monochromatic
#160F2E #2B1F5C #412E8A #573DB8 #7B66CC

Accessibility & contrast

On white

10.59
#412E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412E8A
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412E8A#FFFFFF#000000##FFFFFF
##412E8A1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418D
Deuteranopia (green-blind)
#003C88
Tritanopia (blue-blind)
#254557
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #412e8a;
/* rgb */ color: rgb(65, 46, 138);
/* oklch */ color: oklch(38.1% 0.145 286.8);
Tailwind
colors: {
  custom: {
    50: '#7d68ad',
    500: '#412e8a',
    950: '#000000',
  },
}
SCSS
$custom: #412e8a;
$custom-light: #7d68ad;
$custom-dark: #000000;
JSON
{
  "hex": "#412e8a",
  "rgb": {
    "r": 65,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 252.391,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38061,
    "c": 0.14541,
    "h": 286.8
  },
  "luminance": 0.04913
}

Semantic roles & 50–950 ramp

primary
#412E8A
secondary
#A2B361
accent
#DA4EBD
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #412E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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