#412A9E#412A9E

#412A9E is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.3% C 0.176 H 283.9°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#412A9E
RGBrgb(65, 42, 158)
HSLhsl(252, 58%, 39%)
HSVhsv(252, 73%, 62%)
CMYKcmyk(58.9%, 73.4%, 0%, 38%)
CIE-LABlab(27.43, 42.19, -59.29)
CIE-LCHlch(27.43, 72.77, 305.44°)
OKLaboklab(39.29% 0.0422 -0.1708)
OKLCHoklch(39.29% 0.176 283.9)
XYZxyz(9.1776, 5.2478, 32.8704)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412A9E #879E2A
analogous
#2A4D9E #412A9E #7B2A9E
triadic
#412A9E #9E412A #2A9E41
tetradic
#412A9E #9E2A4D #879E2A #2A9E7B
square
#412A9E #9E2A4D #879E2A #2A9E7B
split-complementary
#412A9E #9E7B2A #4D9E2A
monochromatic
#19103D #2D1D6E #412A9E #573ACB #806BD8

Accessibility & contrast

On white

10.25
#412A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#412A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412A9E
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412A9E#FFFFFF#000000##FFFFFF
##412A9E1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#003D9C
Tritanopia (blue-blind)
#0B4A61
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #412a9e;
/* rgb */ color: rgb(65, 42, 158);
/* oklch */ color: oklch(39.3% 0.176 283.9);
Tailwind
colors: {
  custom: {
    50: '#8166bc',
    500: '#412a9e',
    950: '#000000',
  },
}
SCSS
$custom: #412a9e;
$custom-light: #8166bc;
$custom-dark: #000000;
JSON
{
  "hex": "#412a9e",
  "rgb": {
    "r": 65,
    "g": 42,
    "b": 158
  },
  "hsl": {
    "h": 251.897,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39289,
    "c": 0.1759,
    "h": 283.9
  },
  "luminance": 0.05248
}

Semantic roles & 50–950 ramp

primary
#412A9E
secondary
#ADBE66
accent
#E147C3
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #412A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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