#412A99#412A99

#412A99 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.8% C 0.170 H 284.8°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#412A99
RGBrgb(65, 42, 153)
HSLhsl(252, 57%, 38%)
HSVhsv(252, 73%, 60%)
CMYKcmyk(57.5%, 72.5%, 0%, 40%)
CIE-LABlab(26.96, 40.65, -57.01)
CIE-LCHlch(26.96, 70.02, 305.49°)
OKLaboklab(38.81% 0.0433 -0.1641)
OKLCHoklch(38.81% 0.17 284.8)
XYZxyz(8.7560, 5.0791, 30.6498)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412A99 #82992A
analogous
#2A4B99 #412A99 #782A99
triadic
#412A99 #99412A #2A9941
tetradic
#412A99 #992A4B #82992A #2A9978
square
#412A99 #992A4B #82992A #2A9978
split-complementary
#412A99 #99782A #4B992A
monochromatic
#181039 #2D1D69 #412A99 #5638C8 #7F68D6

Accessibility & contrast

On white

10.42
#412A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#412A99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412A99
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412A99#FFFFFF#000000##FFFFFF
##412A991.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439C
Deuteranopia (green-blind)
#003C97
Tritanopia (blue-blind)
#15485E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #412a99;
/* rgb */ color: rgb(65, 42, 153);
/* oklch */ color: oklch(38.8% 0.170 284.8);
Tailwind
colors: {
  custom: {
    50: '#8066b8',
    500: '#412a99',
    950: '#000000',
  },
}
SCSS
$custom: #412a99;
$custom-light: #8066b8;
$custom-dark: #000000;
JSON
{
  "hex": "#412a99",
  "rgb": {
    "r": 65,
    "g": 42,
    "b": 153
  },
  "hsl": {
    "h": 252.432,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38811,
    "c": 0.16969,
    "h": 284.8
  },
  "luminance": 0.0508
}

Semantic roles & 50–950 ramp

primary
#412A99
secondary
#A9BC63
accent
#E048C1
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #412A99

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

Preview Lab → · Contrast checker → · Palette generator →

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