#412E99#412E99

#412E99 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.4% C 0.165 H 284.0°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#412E99
RGBrgb(65, 46, 153)
HSLhsl(251, 54%, 39%)
HSVhsv(251, 70%, 60%)
CMYKcmyk(57.5%, 69.9%, 0%, 40%)
CIE-LABlab(27.78, 38.37, -55.66)
CIE-LCHlch(27.78, 67.60, 304.58°)
OKLaboklab(39.4% 0.0398 -0.1601)
OKLCHoklch(39.4% 0.165 284)
XYZxyz(8.9050, 5.3772, 30.6995)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412E99 #86992E
analogous
#2E5199 #412E99 #772E99
triadic
#412E99 #99412E #2E9941
tetradic
#412E99 #992E51 #86992E #2E9977
square
#412E99 #992E51 #86992E #2E9977
split-complementary
#412E99 #99772E #51992E
monochromatic
#19123B #2D206A #412E99 #573FC5 #806ED3

Accessibility & contrast

On white

10.12
#412E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412E99
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412E99#FFFFFF#000000##FFFFFF
##412E991.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#003E97
Tritanopia (blue-blind)
#154A60
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #412e99;
/* rgb */ color: rgb(65, 46, 153);
/* oklch */ color: oklch(39.4% 0.165 284.0);
Tailwind
colors: {
  custom: {
    50: '#7f68b8',
    500: '#412e99',
    950: '#000000',
  },
}
SCSS
$custom: #412e99;
$custom-light: #7f68b8;
$custom-dark: #000000;
JSON
{
  "hex": "#412e99",
  "rgb": {
    "r": 65,
    "g": 46,
    "b": 153
  },
  "hsl": {
    "h": 250.654,
    "s": 53.769,
    "l": 39.02
  },
  "oklch": {
    "l": 0.394,
    "c": 0.16502,
    "h": 284
  },
  "luminance": 0.05378
}

Semantic roles & 50–950 ramp

primary
#412E99
secondary
#ACBB68
accent
#DD4BC3
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #412E99

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

Preview Lab → · Contrast checker → · Palette generator →

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