#412DA4#412DA4

#412DA4 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.3% C 0.180 H 282.4°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#412DA4
RGBrgb(65, 45, 164)
HSLhsl(250, 57%, 41%)
HSVhsv(250, 73%, 64%)
CMYKcmyk(60.4%, 72.6%, 0%, 35.7%)
CIE-LABlab(28.59, 42.39, -61.02)
CIE-LCHlch(28.59, 74.30, 304.79°)
OKLaboklab(40.29% 0.0386 -0.1758)
OKLCHoklch(40.29% 0.18 282.4)
XYZxyz(9.8171, 5.6803, 35.6938)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412DA4 #90A42D
analogous
#2D54A4 #412DA4 #7C2DA4
triadic
#412DA4 #A4412D #2DA441
tetradic
#412DA4 #A42D54 #90A42D #2DA47C
square
#412DA4 #A42D54 #90A42D #2DA47C
split-complementary
#412DA4 #A47C2D #54A42D
monochromatic
#1B1344 #2E2074 #412DA4 #5A43CB #8473D9

Accessibility & contrast

On white

9.83
#412DA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#412DA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412DA4
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412DA4#FFFFFF#000000##FFFFFF
##412DA41.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A8
Deuteranopia (green-blind)
#003FA2
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #412da4;
/* rgb */ color: rgb(65, 45, 164);
/* oklch */ color: oklch(40.3% 0.180 282.4);
Tailwind
colors: {
  custom: {
    50: '#8168c0',
    500: '#412da4',
    950: '#000000',
  },
}
SCSS
$custom: #412da4;
$custom-light: #8168c0;
$custom-dark: #000000;
JSON
{
  "hex": "#412da4",
  "rgb": {
    "r": 65,
    "g": 45,
    "b": 164
  },
  "hsl": {
    "h": 250.084,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40287,
    "c": 0.18003,
    "h": 282.4
  },
  "luminance": 0.05681
}

Semantic roles & 50–950 ramp

primary
#412DA4
secondary
#B2C06D
accent
#E048C7
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #412DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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