#412E9A#412E9A

#412E9A is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.5% C 0.166 H 283.8°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#412E9A
RGBrgb(65, 46, 154)
HSLhsl(251, 54%, 39%)
HSVhsv(251, 70%, 60%)
CMYKcmyk(57.8%, 70.1%, 0%, 39.6%)
CIE-LABlab(27.87, 38.69, -56.12)
CIE-LCHlch(27.87, 68.16, 304.58°)
OKLaboklab(39.49% 0.0397 -0.1615)
OKLCHoklch(39.49% 0.166 283.8)
XYZxyz(8.9879, 5.4103, 31.1363)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412E9A #879A2E
analogous
#2E519A #412E9A #772E9A
triadic
#412E9A #9A412E #2E9A41
tetradic
#412E9A #9A2E51 #879A2E #2E9A77
square
#412E9A #9A2E51 #879A2E #2E9A77
split-complementary
#412E9A #9A772E #519A2E
monochromatic
#19123C #2D206B #412E9A #573FC6 #806FD4

Accessibility & contrast

On white

10.09
#412E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#412E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412E9A
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412E9A#FFFFFF#000000##FFFFFF
##412E9A1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459D
Deuteranopia (green-blind)
#003E98
Tritanopia (blue-blind)
#134A60
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #412e9a;
/* rgb */ color: rgb(65, 46, 154);
/* oklch */ color: oklch(39.5% 0.166 283.8);
Tailwind
colors: {
  custom: {
    50: '#7f68b9',
    500: '#412e9a',
    950: '#000000',
  },
}
SCSS
$custom: #412e9a;
$custom-light: #7f68b9;
$custom-dark: #000000;
JSON
{
  "hex": "#412e9a",
  "rgb": {
    "r": 65,
    "g": 46,
    "b": 154
  },
  "hsl": {
    "h": 250.556,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39492,
    "c": 0.1663,
    "h": 283.8
  },
  "luminance": 0.05411
}

Semantic roles & 50–950 ramp

primary
#412E9A
secondary
#ADBB69
accent
#DD4AC4
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #412E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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