#412E9E#412E9E

#412E9E is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.9% C 0.171 H 283.1°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#412E9E
RGBrgb(65, 46, 158)
HSLhsl(250, 55%, 40%)
HSVhsv(250, 71%, 62%)
CMYKcmyk(58.9%, 70.9%, 0%, 38%)
CIE-LABlab(28.24, 39.95, -57.96)
CIE-LCHlch(28.24, 70.40, 304.57°)
OKLaboklab(39.86% 0.039 -0.1669)
OKLCHoklch(39.86% 0.171 283.1)
XYZxyz(9.3266, 5.5458, 32.9201)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412E9E #8B9E2E
analogous
#2E539E #412E9E #792E9E
triadic
#412E9E #9E412E #2E9E41
tetradic
#412E9E #9E2E53 #8B9E2E #2E9E79
square
#412E9E #9E2E53 #8B9E2E #2E9E79
split-complementary
#412E9E #9E792E #539E2E
monochromatic
#1A123F #2E206F #412E9E #5841C8 #8271D6

Accessibility & contrast

On white

9.96
#412E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#412E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412E9E
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412E9E#FFFFFF#000000##FFFFFF
##412E9E1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A1
Deuteranopia (green-blind)
#003F9C
Tritanopia (blue-blind)
#0A4C62
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #412e9e;
/* rgb */ color: rgb(65, 46, 158);
/* oklch */ color: oklch(39.9% 0.171 283.1);
Tailwind
colors: {
  custom: {
    50: '#8069bc',
    500: '#412e9e',
    950: '#000000',
  },
}
SCSS
$custom: #412e9e;
$custom-light: #8069bc;
$custom-dark: #000000;
JSON
{
  "hex": "#412e9e",
  "rgb": {
    "r": 65,
    "g": 46,
    "b": 158
  },
  "hsl": {
    "h": 250.179,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.39864,
    "c": 0.17138,
    "h": 283.1
  },
  "luminance": 0.05546
}

Semantic roles & 50–950 ramp

primary
#412E9E
secondary
#AFBD6B
accent
#DE4AC5
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #412E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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