#412E9F#412E9F

#412E9F is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.0% C 0.173 H 283.0°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#412E9F
RGBrgb(65, 46, 159)
HSLhsl(250, 55%, 40%)
HSVhsv(250, 71%, 62%)
CMYKcmyk(59.1%, 71.1%, 0%, 37.6%)
CIE-LABlab(28.33, 40.26, -58.42)
CIE-LCHlch(28.33, 70.95, 304.57°)
OKLaboklab(39.96% 0.0388 -0.1682)
OKLCHoklch(39.96% 0.173 283)
XYZxyz(9.4130, 5.5804, 33.3753)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412E9F #8C9F2E
analogous
#2E549F #412E9F #792E9F
triadic
#412E9F #9F412E #2E9F41
tetradic
#412E9F #9F2E54 #8C9F2E #2E9F79
square
#412E9F #9F2E54 #8C9F2E #2E9F79
split-complementary
#412E9F #9F792E #549F2E
monochromatic
#1A1340 #2E2070 #412E9F #5942C8 #8271D6

Accessibility & contrast

On white

9.92
#412E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#412E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412E9F
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412E9F#FFFFFF#000000##FFFFFF
##412E9F1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#084C63
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #412e9f;
/* rgb */ color: rgb(65, 46, 159);
/* oklch */ color: oklch(40.0% 0.173 283.0);
Tailwind
colors: {
  custom: {
    50: '#8069bc',
    500: '#412e9f',
    950: '#000000',
  },
}
SCSS
$custom: #412e9f;
$custom-light: #8069bc;
$custom-dark: #000000;
JSON
{
  "hex": "#412e9f",
  "rgb": {
    "r": 65,
    "g": 46,
    "b": 159
  },
  "hsl": {
    "h": 250.088,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39957,
    "c": 0.17265,
    "h": 283
  },
  "luminance": 0.05581
}

Semantic roles & 50–950 ramp

primary
#412E9F
secondary
#B0BE6B
accent
#DE49C5
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #412E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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