#412EA0#412EA0

#412EA0 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.1% C 0.174 H 282.8°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#412EA0
RGBrgb(65, 46, 160)
HSLhsl(250, 55%, 40%)
HSVhsv(250, 71%, 63%)
CMYKcmyk(59.4%, 71.2%, 0%, 37.3%)
CIE-LABlab(28.42, 40.58, -58.88)
CIE-LCHlch(28.42, 71.51, 304.57°)
OKLaboklab(40.05% 0.0386 -0.1696)
OKLCHoklch(40.05% 0.174 282.8)
XYZxyz(9.5002, 5.6152, 33.8341)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412EA0 #8DA02E
analogous
#2E54A0 #412EA0 #7A2EA0
triadic
#412EA0 #A0412E #2EA041
tetradic
#412EA0 #A02E54 #8DA02E #2EA07A
square
#412EA0 #A02E54 #8DA02E #2EA07A
split-complementary
#412EA0 #A07A2E #54A02E
monochromatic
#1A1341 #2E2070 #412EA0 #5942C9 #8372D6

Accessibility & contrast

On white

9.89
#412EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412EA0
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412EA0#FFFFFF#000000##FFFFFF
##412EA01.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A3
Deuteranopia (green-blind)
#003F9E
Tritanopia (blue-blind)
#054C63
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #412ea0;
/* rgb */ color: rgb(65, 46, 160);
/* oklch */ color: oklch(40.1% 0.174 282.8);
Tailwind
colors: {
  custom: {
    50: '#8169bd',
    500: '#412ea0',
    950: '#000000',
  },
}
SCSS
$custom: #412ea0;
$custom-light: #8169bd;
$custom-dark: #000000;
JSON
{
  "hex": "#412ea0",
  "rgb": {
    "r": 65,
    "g": 46,
    "b": 160
  },
  "hsl": {
    "h": 250,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.40051,
    "c": 0.17391,
    "h": 282.8
  },
  "luminance": 0.05616
}

Semantic roles & 50–950 ramp

primary
#412EA0
secondary
#B0BE6C
accent
#DF49C6
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #412EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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