#412DA1#412DA1

#412DA1 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.0% C 0.176 H 282.8°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#412DA1
RGBrgb(65, 45, 161)
HSLhsl(250, 56%, 40%)
HSVhsv(250, 72%, 63%)
CMYKcmyk(59.6%, 72%, 0%, 36.9%)
CIE-LABlab(28.31, 41.46, -59.67)
CIE-LCHlch(28.31, 72.66, 304.79°)
OKLaboklab(40% 0.0392 -0.1719)
OKLCHoklch(40% 0.176 282.8)
XYZxyz(9.5494, 5.5732, 34.2838)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412DA1 #8DA12D
analogous
#2D53A1 #412DA1 #7B2DA1
triadic
#412DA1 #A1412D #2DA141
tetradic
#412DA1 #A12D53 #8DA12D #2DA17B
square
#412DA1 #A12D53 #8DA12D #2DA17B
split-complementary
#412DA1 #A17B2D #53A12D
monochromatic
#1A1241 #2E2071 #412DA1 #5941CA #8371D7

Accessibility & contrast

On white

9.93
#412DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#412DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412DA1
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412DA1#FFFFFF#000000##FFFFFF
##412DA11.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A4
Deuteranopia (green-blind)
#003F9F
Tritanopia (blue-blind)
#024C64
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #412da1;
/* rgb */ color: rgb(65, 45, 161);
/* oklch */ color: oklch(40.0% 0.176 282.8);
Tailwind
colors: {
  custom: {
    50: '#8168be',
    500: '#412da1',
    950: '#000000',
  },
}
SCSS
$custom: #412da1;
$custom-light: #8168be;
$custom-dark: #000000;
JSON
{
  "hex": "#412da1",
  "rgb": {
    "r": 65,
    "g": 45,
    "b": 161
  },
  "hsl": {
    "h": 250.345,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4,
    "c": 0.1763,
    "h": 282.8
  },
  "luminance": 0.05574
}

Semantic roles & 50–950 ramp

primary
#412DA1
secondary
#B0BF6B
accent
#E048C5
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #412DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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