#412E8D#412E8D

#412E8D is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.3% C 0.149 H 286.2°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#412E8D
RGBrgb(65, 46, 141)
HSLhsl(252, 51%, 37%)
HSVhsv(252, 67%, 55%)
CMYKcmyk(53.9%, 67.4%, 0%, 44.7%)
CIE-LABlab(26.74, 34.58, -49.98)
CIE-LCHlch(26.74, 60.78, 304.68°)
OKLaboklab(38.32% 0.0416 -0.1435)
OKLCHoklch(38.32% 0.149 286.2)
XYZxyz(7.9633, 5.0005, 25.7397)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412E8D #7A8D2E
analogous
#2E4B8D #412E8D #712E8D
triadic
#412E8D #8D412E #2E8D41
tetradic
#412E8D #8D2E4B #7A8D2E #2E8D71
square
#412E8D #8D2E4B #7A8D2E #2E8D71
split-complementary
#412E8D #8D712E #4B8D2E
monochromatic
#161031 #2C1F5F #412E8D #563DBB #7C68CE

Accessibility & contrast

On white

10.50
#412E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#412E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412E8D
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412E8D#FFFFFF#000000##FFFFFF
##412E8D1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004290
Deuteranopia (green-blind)
#003C8B
Tritanopia (blue-blind)
#234659
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #412e8d;
/* rgb */ color: rgb(65, 46, 141);
/* oklch */ color: oklch(38.3% 0.149 286.2);
Tailwind
colors: {
  custom: {
    50: '#7d68af',
    500: '#412e8d',
    950: '#000000',
  },
}
SCSS
$custom: #412e8d;
$custom-light: #7d68af;
$custom-dark: #000000;
JSON
{
  "hex": "#412e8d",
  "rgb": {
    "r": 65,
    "g": 46,
    "b": 141
  },
  "hsl": {
    "h": 252,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38322,
    "c": 0.1494,
    "h": 286.2
  },
  "luminance": 0.05001
}

Semantic roles & 50–950 ramp

primary
#412E8D
secondary
#A4B562
accent
#DA4EBE
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #412E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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